Roku BrightScript is a powerful scripting language that makes it easy and quick to build media and networked applications for embedded devices. The language has integrated support for BrightScript Components, a library of lightweight components. The APIs of the platform (device) BrightScript is running on are all exposed to BrightScript as BrightScript Components.
This document specifies the syntax of the language. To write useful applications, you should also refer to the BrightScript Component Reference Manual for the device you are targeting code for. This manual is designed for people that have some experience programming software. It is a reference guide, not a tutorial.
BrightScript is optimized to be the "glue" that connects underlying components for network connectivity, media playback, and UI screens into user friendly applications with minimal programmer effort.
- Statement Summary
- Expressions, Variables, and Types
- Component Architecture
- Program Statements
- Runtime Functions
- Global Utility Functions
- Global String Functions
- Global Math Functions
- Reserved Words