Crate carlotk

source ·
Expand description

Main library for the Carlo language.

Modules§

  • A prelude for writing subcommands.

Macros§

Structs§

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.
  • 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.