2024-03-01 02:41:07 +00:00
|
|
|
//! Parses [tokens](cl_token::token) into an [AST](cl_ast)
|
2024-01-23 07:51:00 +00:00
|
|
|
//!
|
2024-01-21 11:32:18 +00:00
|
|
|
//! For the full grammar, see [grammar.ebnf][1]
|
2024-01-23 07:51:00 +00:00
|
|
|
//!
|
2024-01-21 11:32:18 +00:00
|
|
|
//! [1]: https://git.soft.fish/j/Conlang/src/branch/main/grammar.ebnf
|
2024-03-01 03:04:45 +00:00
|
|
|
#![warn(clippy::all)]
|
2024-03-01 02:41:07 +00:00
|
|
|
#![feature(decl_macro)]
|
2024-01-21 11:32:18 +00:00
|
|
|
|
2024-03-01 02:43:40 +00:00
|
|
|
pub use parser::Parser;
|
|
|
|
|
2024-03-01 02:41:07 +00:00
|
|
|
use cl_structures::span::*;
|
|
|
|
use cl_token::*;
|
|
|
|
|
2024-03-01 02:44:49 +00:00
|
|
|
pub mod error;
|
2024-03-01 02:41:07 +00:00
|
|
|
|
2024-03-01 02:44:49 +00:00
|
|
|
pub mod parser;
|