25 Commits (master)

Author SHA1 Message Date
trivernis e5dac6bdba
Add consume method to reader
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis 4301930b1b
Remove second arg from parse functions again
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis 8cb21fcaca
Add token reader and access to last token in checker function
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis 554e3f353d
Add lexer
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis 7298b79c5a
Add token struct and traits
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis 3df49ca9a9
Fix input reader
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis b0532856d5
Add InputReader
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis e58a34820e
Expose index the TapeError occured on
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis 0c003fe278
Add try_seek to seek when possible
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis 89a866cb92
Fix escape checking
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis bca9220cab
Fix tests to run on stable
Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago
trivernis 463f2ffee1 Fix rewinding 4 years ago
trivernis 077684c681 Add string sequence matching 4 years ago
trivernis 5712ec2320 Fix unsafe unwrap in rewind 4 years ago
trivernis e316d063f8 Add get_string_until_any_or_rewind function 4 years ago
trivernis 3f5cae0eca Add seek_any function 4 years ago
trivernis b307005ce7 Add getter for current char 4 years ago
trivernis 433d41297c Add err function for easier error creation 4 years ago
trivernis 7effac3feb Add getter for CharStateMachine index 4 years ago
trivernis 485d59dd2d Expose assert_error function 4 years ago
trivernis 9711e9e9e0 Add EOF check method 4 years ago
trivernis 9c0edf1494 Update Version 4 years ago
trivernis 250df5764a Update Version 4 years ago
trivernis 442c37cbcf Update Cargo.toml 4 years ago
trivernis d1cd958e86 Add initial functions for the CharTapeMachine 4 years ago