Commit graph

20 commits

Author SHA1 Message Date
cea63e8e8e Attempt to move all the Sibil code to its own directory
Add a dependency to its Cargo.toml for sibiltypes.
2017-04-14 07:50:38 -07:00
b0aa38e387 Clean up compiler errors related to type name changes 2017-04-03 16:12:12 -04:00
ba911741ab Rename all the Identifier stuff Id 2017-01-16 16:23:19 -08:00
d6a9fc26cd Boolean and Character are a little more filled out, and used by the Lexer 2017-01-16 10:29:44 -08:00
a3723b2e65 Order derives alphabetically 2017-01-12 21:38:19 -08:00
f799d7642d Create types module with a module for numbers; move Number there 2016-12-29 10:10:40 -05:00
c061d9732c Lex characters, including #\newline and #\space
This implementation is pretty dumb I think... >_<
At least, it was annoying as hell to write.
2016-12-28 12:16:28 -07:00
b1ef5fdf3e Lex quotes -- need to write a test for this but captain says its time to put devices away... 2016-12-28 08:40:31 -07:00
f2ff1acdd1 Emit line and offset information with tokens in Lex objects 2016-12-27 10:53:38 -07:00
aba541ed4d Attempting numbers; tests are failing though :-( 2016-12-26 18:23:58 -07:00
dfc528e8e7 Find left vector parens 2016-12-25 20:59:21 -07:00
c42d69bd47 Lex dots: . 2016-12-25 20:54:47 -07:00
81a84a796a Lex basic strings (no escapes yet) 2016-12-25 15:03:18 -07:00
7f19c78127 Make some unit tests for the lexer 2016-12-25 14:20:25 -07:00
0d89cfefc1 Add Comment token 2016-12-25 13:50:34 -07:00
acbde03786 Token is an enum with values; Lex contains a token and several useful bits of info 2016-12-25 12:24:04 -07:00
6b8ba6b6e8 use #[derive(Debug)] on Token, Kind, State... SO MUCH EASIER 2016-12-24 14:03:37 -07:00
43054b3f49 Lex hashes and booleans 2016-12-24 10:29:12 -07:00
d4dee92904 Move all the lexer stuff to a module directory 2016-12-24 08:57:37 -07:00
d333819dee Break token stuff into a separate source file 2016-12-24 08:47:02 -07:00