flexar 1.2.6

An extremely flexible lexer/parser (get it?) for writing your own programming language
Documentation
1
2
3
4
5
6
7
8
9
use crate::cursor::Position;

// A context for a lexer / parser (flexar)
pub trait Flext {
    fn advance(&mut self);
    fn revance(&mut self);
    fn spawn(&self) -> Self;
    fn position(&self) -> Position;
}