Expand description
Main library for the Carlo language.
Structs
- Command-line arguments for the Carlo language executable.
- Abstracts over the Carlo parser.
- A Carlo language token.
- Stores a stream of tokens.
Enums
- Defines binary operations in Carlo.
- Enumerates the errors thrown by the Carlo language.
- Enumerates the expression available to the Carlo parser.
- Flags for the Carlo language executable.
- Subcommands for the Carlo language executable.
- Enumerates the classes of Carlo langauge tokens.
Constants
- Defines the prefixes available to the Carlo language.
- Defines the units available to the Carlo language. Each unit is structured as (name, (multiplier, kg, m, s, A, K, mol))
Functions
- Converts a source file into a list of expressions.
- Displays a prompt and reads user input.