Crate tilted

Source

Re-exports§

pub use ast::BinaryAction;
pub use ast::BinaryNode;
pub use ast::NodeBox;
pub use ast::Number;
pub use ast::PlainNode;
pub use ast::UnaryAction;
pub use ast::UnaryNode;
pub use cli::CliParser;
pub use error::LexError;
pub use error::ParseError;
pub use error::TilError;
pub use lexer::Function;
pub use lexer::Lexer;
pub use lexer::Operator;
pub use lexer::Span;
pub use lexer::Token;
pub use lexer::TokenKind;
pub use parser::Parser;

Modules§

ast
This modules implements AST nodes and their evaluation mechanism.
cli
This module implements the command-line interface for tilted.
error
This module implements the error types for tilted.
lexer
This modules implements a lexer, or tokeniser, for tilted.
macros
This module implements shortcut macros for tilted.
parser
This modules implements a parser for tilted.

Macros§

eof
Returns a EOF token at the specified location.
token
Quickly crafts a token of a specified kind of a known length and location.