Crate reluxscript

Crate reluxscript 

Source
Expand description

ReluxScript Compiler

A language that compiles to both Babel (JavaScript) and SWC (Rust) plugins.

Re-exports§

pub use lexer::Lexer;
pub use lexer::Token;
pub use lexer::TokenKind;
pub use lexer::Span;
pub use parser::Parser;
pub use parser::Program;
pub use parser::ParseError;
pub use semantic::analyze;
pub use semantic::analyze_with_base_dir;
pub use semantic::lower;
pub use semantic::SemanticError;
pub use semantic::SemanticResult;
pub use semantic::UnwrapHoister;
pub use codegen::generate;
pub use codegen::generate_with_types;
pub use codegen::Target;
pub use codegen::GeneratedCode;
pub use codegen::SwcDecorator;
pub use codegen::SwcRewriter;
pub use mapping::NodeMapping;
pub use mapping::FieldMapping;
pub use mapping::HelperMapping;
pub use mapping::PatternMapping;
pub use mapping::get_node_mapping;
pub use mapping::get_field_mapping;
pub use mapping::get_helper_for_field;
pub use mapping::get_pattern_check;
pub use autofix::TokenRewriter;

Modules§

autofix
Autofix system for ReluxScript
codegen
Code generation for ReluxScript
lexer
luxon
LUXON - Lux Object Notation
manifest
Lux project manifest for declarative builds
mapping
AST Mapping Tables for ReluxScript
parser
semantic
type_system
Shared type system utilities