Commit Graph

13 Commits

Author SHA1 Message Date
beder
0b2e0dd32b Centralized the error messages to one location. 2008-07-08 20:31:48 +00:00
beder
2f5c19fa00 Combined the myriad ScannerExceptions and ParserExceptions to a single ParserException class that has a message and a line/column position in the file where the error occurred. 2008-07-08 05:48:38 +00:00
beder
620c322df5 Added some parser exceptions. 2008-07-02 05:00:32 +00:00
beder
b4b287c4e9 Added an iterator class that can iterate through both sequence and map nodes. 2008-07-02 01:22:39 +00:00
beder
795df7224b Added a peek token command (for the parser to use). 2008-06-30 06:21:12 +00:00
beder
67250833b8 Mostly finished refactoring the scalar scanning. 2008-06-30 01:31:23 +00:00
beder
45dfc719e1 2008-06-29 00:33:34 +00:00
beder
ab27b9781e Small refactoring. 2008-06-28 22:05:51 +00:00
beder
566916ba19 Added folded and literal scalars. 2008-06-28 20:08:21 +00:00
beder
70afd130ad Added simple keys.
There's a bug (and question): should we test simple keys' validity BEFORE stuff or AFTER stuff?
2008-06-28 06:36:59 +00:00
beder
fb9176a054 Added quoted scalars (with escaping).
Refactored some common whitespace-parsing code in scanning both scalars.
Implemented the flow collection tokens.
2008-06-27 23:11:46 +00:00
beder
c7274ff2e8 More simple scalar scanning. 2008-06-26 22:00:39 +00:00
beder
2040e4de8b Continued working on scanner.
We're now using exceptions for errors, and scanning/pushing tokens is exception-safe (using a set of "limbo tokens").
2008-06-26 19:30:11 +00:00