- 02 Jul, 2008 3 commits
-
-
Jesse Beder committed
-
Jesse Beder committed
-
Jesse Beder committed
-
- 01 Jul, 2008 3 commits
-
-
Jesse Beder committed
-
Jesse Beder committed
-
Fixed a silly bug in the simple key pushing (queues are FIFO!).
Jesse Beder committed
-
- 30 Jun, 2008 8 commits
-
-
Jesse Beder committed
-
Jesse Beder committed
-
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 committed -
Jesse Beder committed
-
Jesse Beder committed
-
Jesse Beder committed
-
Moved the three scalar token scanning functions back to scantoken.cpp, so scanscalar.cpp now only has the main scalar scanning function. Renamed ScanScalarInfo to ScanScalarParams.
Jesse Beder committed -
Jesse Beder committed
-
- 29 Jun, 2008 5 commits
-
-
Renamed the valid/possible tokens to a single variable status with enums valid, invalid, and unverified.
Jesse Beder committed -
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 committed -
Jesse Beder committed
-
Jesse Beder committed
-
Jesse Beder committed
-
- 28 Jun, 2008 6 commits
-
-
Jesse Beder committed
-
Jesse Beder committed
-
Jesse Beder committed
-
Jesse Beder committed
-
Jesse Beder committed
-
There's a bug (and question): should we test simple keys' validity BEFORE stuff or AFTER stuff?
Jesse Beder committed
-
- 27 Jun, 2008 6 commits
-
-
Refactored some common whitespace-parsing code in scanning both scalars. Implemented the flow collection tokens.
Jesse Beder committed -
Jesse Beder committed
-
Split off the specific regular expressions, and the specialized token-scanning functions, into their own files.
Jesse Beder committed -
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 committed -
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 committed -
Also messed around with multiple character peeking on the input, and got something working.
Jesse Beder committed
-
- 26 Jun, 2008 4 commits
-
-
Jesse Beder committed
-
We're now using exceptions for errors, and scanning/pushing tokens is exception-safe (using a set of "limbo tokens").
Jesse Beder committed -
Jesse Beder committed
-
Will be completely wiped, I think, in favor of a Scanner (to tokens), then Parser mechanism.
Jesse Beder committed
-
- 25 Jun, 2008 4 commits
-
-
Jesse Beder committed
-
Jesse Beder committed
-
Jesse Beder committed
-
Jesse Beder committed
-