Commit graph

5 commits

Author SHA1 Message Date
c5b769ff45 A peekable lexer
Use the chars() iterator on &str, with the Peekable wrapper on Iterators, to iterate the input, rather than needing to hold the whole input and do iteration by indexes.
2017-04-30 17:46:42 -07:00
a4282e7760 Blow away the lexer code =o 2017-04-30 16:32:31 -07:00
21263fb2ed Lexer doesn't have a named_char module anymore 2017-04-30 15:57:02 -07:00
f9d9a08455 Add a failing test that the lexer finds rational numbers 2017-04-15 10:35:13 -07:00
fc947280ae Move the lexer to its own sibillexer module
Lots of failing tests right now, unfortunately. :(
2017-04-15 09:37:12 -07:00