mirror of
https://github.com/ParkerTenBroeck/automata.git
synced 2026-06-07 05:28:45 -04:00
started parsing NPDAs
This commit is contained in:
parent
7e0d4ca69a
commit
f375757fd6
17 changed files with 920 additions and 216 deletions
14
src/lib.rs
14
src/lib.rs
|
|
@ -1,12 +1,2 @@
|
|||
pub mod dfa;
|
||||
pub mod lexer;
|
||||
pub mod parser;
|
||||
pub mod ast;
|
||||
|
||||
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);
|
||||
pub mod automata;
|
||||
pub mod loader;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue