mirror of
https://github.com/ParkerTenBroeck/automata.git
synced 2026-06-07 05:28:45 -04:00
first
This commit is contained in:
commit
7970cb197a
10 changed files with 595 additions and 0 deletions
11
src/lib.rs
Normal file
11
src/lib.rs
Normal 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);
|
||||
Loading…
Add table
Add a link
Reference in a new issue