20 Commits

Author SHA1 Message Date
Jonathan Turner
f692834fa8 Gave in to premature optimization. Lex regexes are now compiled together and the match is found in the resulting set, instead of incrementally searching for a match. 2009-05-31 11:57:29 +00:00
Jonathan Turner
6a9c5ee57f Added command delimiters 2009-05-30 13:01:52 +00:00
Jonathan Turner
22654b5754 Added nop operator to prevent incorrect aliasing 2009-05-29 16:04:31 +00:00
Jonathan Turner
14be974fb0 Fix a few crashers with And_Rule, Kleene_Rule, Plus_Rule, and Optional_Rule 2009-05-29 02:58:05 +00:00
Jonathan Turner
bf7fba3646 Moving project files into subdirs 2009-05-28 18:13:06 +00:00
Jonathan Turner
af9bd41221 Added Kleene star, plus, and optional 2009-05-28 12:49:17 +00:00
Jonathan Turner
ab3b9e2fe7 Added a couple notes to the larger sample 2009-05-27 21:42:34 +00:00
Jonathan Turner
891650b97d Added new ast nodes when new_id != -1 2009-05-27 21:39:35 +00:00
Jonathan Turner
2ca701aa32 Lots of small bugfixes re:parser. pimpl now works with ast keep and new_id 2009-05-27 21:01:56 +00:00
Jonathan Turner
10491e4ed8 A few small improvements to helper functions 2009-05-27 20:01:34 +00:00
Jonathan Turner
f6f6a8305e Sugared operators and helper functions starting to work 2009-05-27 19:56:05 +00:00
Jonathan Turner
7c42ab79bf The parser is coming alive. Now can successfully parse And and Or rules 2009-05-27 18:19:00 +00:00
Jonathan Turner
421a616924 Inch by inch, getting closer to working out what the parser needs 2009-05-27 17:42:54 +00:00
Jonathan Turner
332fdf0c8e Switch Token to smart pointer 2009-05-27 15:07:29 +00:00
Jonathan Turner
6538008172 Added filenames to tokens, removed from File_Position 2009-05-27 11:46:15 +00:00
Jonathan Turner
6a608f995a Starting to stand up the parser using std::pair 2009-05-26 22:39:55 +00:00
Jonathan Turner
7f628d9130 Working up parser combinators 2009-05-26 20:17:42 +00:00
Jonathan Turner
5424b6be41 Added line counting to lexer. 2009-05-26 16:59:29 +00:00
Jonathan Turner
ee8eb8773a Added quoted string, single quoted string, and comma lexing 2009-05-25 20:15:19 +00:00
Jonathan Turner
23fc75ca52 Initial check-in of langkit 2009-05-25 18:52:01 +00:00