Expand description
Main library for the Carlo language.
Modules§
- prelude
- A prelude for writing subcommands.
Macros§
- construct_
std - Constructs the standard library.
- include_
subcommands - Includes subcommands in the Carlo binary.
Structs§
- CliArgs
- Command-line arguments for the Carlo language executable.
- Environment
- Parser
- Abstracts over the Carlo parser.
- Token
- A Carlo language token.
- Tokenstream
- Stores a stream of tokens.
Enums§
- Binary
Operation - Defines binary operations in Carlo.
- Error
- Enumerates the errors thrown by the Carlo language.
- Expression
- Enumerates the expression available to the Carlo parser.
- Flag
- Flags for the Carlo language executable.
- Token
Class - Enumerates the classes of Carlo langauge tokens.
Constants§
- PREFIXES
- Defines the prefixes available to the Carlo language.
- UNITS
- Defines the units available to the Carlo language. Each unit is structured as (name, (multiplier, kg, m, s, A, K, mol))
- VERSION