- 31 Jul, 2009 1 commit
-
-
Jesse Beder authored
-
- 27 Jul, 2009 1 commit
-
-
Jesse Beder authored
-
- 22 May, 2009 1 commit
-
-
Jesse Beder authored
-
- 01 Feb, 2009 1 commit
-
-
Jesse Beder authored
Switched to reading the entire file into a buffer at the start.\nThis speeds it up a TON (like 100x).
-
- 03 Sep, 2008 1 commit
-
-
Jesse Beder authored
-
- 23 Jul, 2008 1 commit
-
-
Jesse Beder authored
Changed the public interface of Scanner to resemble an STL container.
-
- 20 Jul, 2008 1 commit
-
-
Jesse Beder authored
We were getting memory leaks (as told by the CRT detectors, which I also added), and there's really no reason (as long as we're careful) to use pointers there.
-
- 14 Jul, 2008 1 commit
-
-
Jesse Beder authored
-
- 08 Jul, 2008 2 commits
-
-
Jesse Beder authored
-
Jesse Beder authored
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.
-
- 01 Jul, 2008 1 commit
-
-
Jesse Beder authored
Fixed a silly bug in the simple key pushing (queues are FIFO!).
-
- 30 Jun, 2008 5 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
-
- 29 Jun, 2008 3 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
No commit message
-
- 28 Jun, 2008 5 commits
-
-
Jesse Beder authored
-
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
-