Structsยง
- Args ๐This struct represents the various command line options available.
 - LoadedProgram ๐A loaded and parsed program.
 
Constantsยง
- USAGE ๐
 
Functionsยง
- help ๐Print out help for commands in interpreter mode.
 - load_program ๐Load the file into a string, and parse it.
 - main ๐
 - process ๐Process a single command.
argsis a struct containing the command-line arguments, andprogis a parsed.chalkfile. - read_program ๐Read a program from the command-line. Stop reading when EOF is read. If an error occurs while reading, a
Erris returned. - readline_loop ๐Reads input lines from the user. Lines start with the string given by
prompt. Each line the user enters is passed to the functionffor processing. - run ๐
 
Type Aliasesยง
- Result ๐