Skip to main content

Crate specl_syntax

Crate specl_syntax 

Source
Expand description

Lexer, parser, and AST for the Specl specification language.

Re-exports§

pub use lexer::Lexer;
pub use parser::parse;
pub use parser::ParseError;
pub use parser::Parser;
pub use pretty::pretty_print;
pub use pretty::pretty_print_expr;
pub use pretty::pretty_print_type;
pub use token::Span;
pub use token::Token;
pub use token::TokenKind;
pub use ast::*;

Modules§

ast
Abstract Syntax Tree for the Specl specification language.
lexer
Lexer for the Specl specification language.
parser
Recursive descent parser for the Specl specification language.
pretty
Pretty printer for the Specl AST.
token
Token types and source span tracking for the Specl lexer.