This commit is contained in:
Parker TenBroeck 2025-12-18 21:49:13 -05:00
commit 7970cb197a
10 changed files with 595 additions and 0 deletions

11
src/lib.rs Normal file
View file

@ -0,0 +1,11 @@
pub mod dfa;
pub mod lexer;
pub mod parser;
pub struct SymbolMap<T>([T; 256]);
#[derive(Clone, Copy, Hash, PartialEq, Eq)]
pub struct State(u16);
#[derive(Clone, Copy, Hash, PartialEq, Eq)]
pub struct Symbol(u16);