Commit graph

22 commits

Author SHA1 Message Date
d13396bb5d [parser] Fill in some framing comments; pass lexer errors out directly 2018-08-24 08:00:33 -07:00
d9abd033e7 [parser] Flatten the matches 2018-08-24 07:54:00 -07:00
2f9c16ff38 [parser] Working out the structure of this stupid Parser::next() 2018-08-23 20:36:41 -07:00
4bade1af4a [parser] Fill out ProgramParser 2018-08-23 20:27:50 -07:00
80bf4b7bf1 [parser] Expand ParseError; add a ProgramParser to start things off 2018-08-23 20:21:59 -07:00
6aed66d2b5 [parser] Add ProgramParser in its own module 2018-08-23 20:20:12 -07:00
4cd46d85a9 [parser] Improve this error message 2018-08-23 18:04:56 -07:00
9c06b293f9 [parser] Determine when to parse a new list and when to prepare to parse the current list 2018-08-23 18:04:44 -07:00
8e9fde7a9f [parser, types] Add Obj::take() and use it to take the Obj from the parser when it is done 2018-08-23 18:04:04 -07:00
929846152e [parser, types] Clean up obj parsers
- Define ListParser, SymParser in their own separate modules
- Add some stuff to types to make working with them more ergonomic
2018-08-23 17:52:56 -07:00
0208ecb4d2 [parser] Continuing to sketch the parser 2018-08-20 16:14:17 -07:00
8475720a71 Add accessor for Lex::value 2018-08-20 15:21:20 -07:00
cabe40bd7a [parser] Skeleton IdParser and ListParser for Ids and Lists respectively 2018-08-19 22:30:49 -07:00
027854d162 [parser] Print things in main() as the thing 2018-08-19 22:11:08 -07:00
d7bffdc432 [parser] Add parsers field to Parser
This will be a stack of node-specific parsers. As you descend the tree, a new
parser will be created for each node we visit.
2018-08-19 22:04:05 -07:00
52ede10d5e [parser] Remove program.rs 2018-08-19 21:15:07 -07:00
efe0c27d93 Make the Parser dump tokens and quit
Write a main() for sibilparser that just does that.
2017-06-18 17:34:46 -07:00
d783e561da Strip down the parser (again...) 2017-04-29 08:58:02 -07:00
076d391d4b Remove list.rs from the parser 2017-04-22 15:22:48 -07:00
1365ab71db More rough sketching of a parser 2017-04-16 11:42:08 -07:00
594b3e44e1 Rough outline of something resembling a parser (again...) 2017-04-15 21:01:28 -07:00
636b0dda9b Create empty sibilparser crate 2017-04-15 10:19:49 -07:00