Crate tortuga[][src]

Expand description

Public interface of the tortuga compiler.

Re-exports

pub use about::*;
pub use grammar::syntax::Program;

Modules

Information about the tortuga command.

The necessary tools to compile Tortuga input into an Abstract Syntax Tree,

Mechanisms to display Tortuga [Program]s and errors.

The Syntax Tree for the tortuga grammar.

Numbers, tuples, and other runtime data types necessary for compiling Tortuga programs.

Structs

Interprets a Tortuga Program and returns the Value.

An error that occurred during lexical analysis of a specific lexeme. After an error is encountered, the scanner may continue to analyze the lexeme.

An error that occurred parsing a numerical literal into runtime value.

A recursive descent LL(1) parser for the syntax grammar. Parses a sequence of Tokens into syntax tree.

A printer to standard out for Tortuga programs.

A lexical analyzer with 1 character of lookahead.

Enums

The variants of the Tokens and their associated attributes. Rust does not support

An error that may occur while executing a [Program].

An error that occurred while generating a syntax tree from a sequence of tokens. After an error is encountered, the parser may continue to generate a tree in panic mode.

A value that may be created by a literal, or returned from a function.

Traits

A trait that defines how to get a Lexeme from types that can be displayed.