- 30 Jun, 2008 4 commits
-
-
beder authored
-
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.
-
beder authored
-
beder authored
-
- 29 Jun, 2008 3 commits
-
-
beder authored
Renamed the valid/possible tokens to a single variable status with enums valid, invalid, and unverified.
-
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.
-
beder authored
No commit message
-
- 28 Jun, 2008 5 commits
- 27 Jun, 2008 6 commits
-
-
beder authored
Refactored some common whitespace-parsing code in scanning both scalars. Implemented the flow collection tokens.
-
beder authored
-
beder authored
Split off the specific regular expressions, and the specialized token-scanning functions, into their own files.
-
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).
-
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.
-
beder authored
Also messed around with multiple character peeking on the input, and got something working.
-
- 26 Jun, 2008 3 commits