Lexer for an implementation of the Pyret programming language.
- Language Constructs
- Primitives and Literals
- Comments
- Programs
- Import Statements
- Provide Statements
- Bindings
- Blocks
- Declarations
- Contracts
- Statements
- Expressions
- Lambda Expressions
- Curly-Brace Lambda Shorthand
- Anonymous Method Expressions
- Application Expressions
- Curried Application Expressions
- Chaining Application
- Instantiation Expressions
- Binary Operators
- Tuple Expressions
- Tuple Access Expressions
- Object Expressions
- Dot Expressions
- Extend Expressions
- If Expressions
- Ask Expressions
- Cases Expressions
- For Expressions
- Template (...) Expressions
- Tables
- Table Loading Expressions
- Reactor Expressions
- Mutable fields
- Construction expressions
- Expression forms of bindings
- Annotations
- Testing
- equality
- Combining Multiple Operators
- Modules
- Contexts
- Brands
- Type Checking
- Spies
- Global Utilities
- Numbers
- Strings
- Booleans
- RawArray
- Tables