Skip to main content

alba_syntax/
lib.rs

1//! Lexer, parser, AST, and diagnostics for the Beamfile DSL.
2
3mod ast;
4mod diagnostics;
5mod expr;
6mod lexer;
7mod parser;
8mod template;
9mod token;
10
11pub use ast::{
12    BeamDecl, BeamRef, ExecutorDecl, ExecutorOptionValue, File, HookDecl, Import, LetBinding,
13    NamedString, Spanned,
14};
15pub use diagnostics::{Diagnostic, render_diagnostic};
16pub use expr::{BinOp, Expr};
17pub use lexer::{LexError, Lexer};
18pub use parser::{ParseError, parse};
19pub use template::{StringTemplate, TemplatePart, parse_template};
20pub use token::{Span, Token, TokenKind};