Expand description

Module with functionalities for lexer and parser generation

Re-exports

pub use naming_helper::NamingHelper;
pub use grammar_config::GrammarConfig;
pub use scanner_config::ScannerConfig;
pub use grammar_trans::check_and_transform_grammar;
pub use language_generator::LanguageGenerator;
pub use lexer_generator::generate_lexer_source;
pub use lexer_generator::generate_terminal_names;
pub use parser_generator::generate_parser_source;
pub use user_trait_generator::UserTraitGenerator;
pub use rust_code_formatter::try_format;
pub use terminal_name_generator::generate_terminal_name;

Modules

Module with type GrammarConfig

Module with grammar transformations

Module that generates type information (AST etc.) for the generated sources

Module with the language generator

Module with the lexer generator

Module with functions to generate variable names and type names This module provides functionality for generating variable names and type names so that they adhere to the Rust naming conventions.

Module with the parser generator

Module with the code formatting function

Module with type ScannerConfig

Module with the terminal name generator

Module with the user-trait generator