- 30 Jun, 2008 6 commits
-
-
Jesse Beder authored
-
Jesse Beder authored
-
Jesse Beder authored
Instead of deriving different tokens from a base Token class, we now use an enumerated TOKEN_TYPE to distinguish types. This is so we don't have to cast all the time when parsing the resulting token stream. Also, removed start/end stream tokens.
-
Jesse Beder authored
-
Jesse Beder authored
-
Jesse Beder authored
-
- 29 Jun, 2008 4 commits
-
-
Jesse Beder authored
Renamed the valid/possible tokens to a single variable status with enums valid, invalid, and unverified.
-
Jesse Beder authored
Moved the input stream, together with line/column info, into its own class, which allowed some other stuff just to pass the stream, and not have to be a member of Scanner.
-
Jesse Beder authored
-
Jesse Beder authored
-
- 28 Jun, 2008 4 commits
-
-
Jesse Beder authored
-
Jesse Beder authored
-
Jesse Beder authored
-
Jesse Beder authored
There's a bug (and question): should we test simple keys' validity BEFORE stuff or AFTER stuff?
-
- 27 Jun, 2008 6 commits
-
-
Jesse Beder authored
Refactored some common whitespace-parsing code in scanning both scalars. Implemented the flow collection tokens.
-
Jesse Beder authored
-
Jesse Beder authored
Split off the specific regular expressions, and the specialized token-scanning functions, into their own files.
-
Jesse Beder authored
Added stream input to the regular expressions, greatly simplifying the usage (in particular, we no longer have to specify the number of characters to be checked).
-
Jesse Beder authored
Wrote a simplified regular expression parser to make life easier (it only does single matches; i.e., no one-or-more matches, etc.). Fixed some of the whitespace/line break matching.
-
Jesse Beder authored
Also messed around with multiple character peeking on the input, and got something working.
-
- 26 Jun, 2008 3 commits
-
-
Jesse Beder authored
-
Jesse Beder authored
We're now using exceptions for errors, and scanning/pushing tokens is exception-safe (using a set of "limbo tokens").
-
Jesse Beder authored
-