cadc04ce47Moved all code to src/ and include/ directories.
Jesse Beder
2008-07-14 04:33:30 +0000
516637fcdcMoved all code to src/ and include/ directories.
beder
2008-07-14 04:33:30 +0000
68793e425eMoved all code to src/ and include/ directories.
beder
2008-07-14 04:33:30 +0000
4cfa233888Switched from moving the cursor forward (in Regex) to ignoring (this handles newlines properly). Updated some of the character-in-scalar rules.
Jesse Beder
2008-07-10 00:23:25 +0000
e6aeb45d09Switched from moving the cursor forward (in Regex) to ignoring (this handles newlines properly). Updated some of the character-in-scalar rules.
beder
2008-07-10 00:23:25 +0000
b9a365f436Switched from moving the cursor forward (in Regex) to ignoring (this handles newlines properly). Updated some of the character-in-scalar rules.
beder
2008-07-10 00:23:25 +0000
03e6b5b991Centralized the error messages to one location.
Jesse Beder
2008-07-08 20:31:48 +0000
0b2e0dd32bCentralized the error messages to one location.
beder
2008-07-08 20:31:48 +0000
b37d66d61eCentralized the error messages to one location.
beder
2008-07-08 20:31:48 +0000
c0c55fe50bRemoved the (unused) 'required' flag from simple keys (the parser should take care of this, not the scanner).
Jesse Beder
2008-07-08 18:34:26 +0000
84bcdda342Removed the (unused) 'required' flag from simple keys (the parser should take care of this, not the scanner).
beder
2008-07-08 18:34:26 +0000
71da537fc6Removed the (unused) 'required' flag from simple keys (the parser should take care of this, not the scanner).
beder
2008-07-08 18:34:26 +0000
a8a0fb41cbAdded some exceptions for directives.
Jesse Beder
2008-07-08 06:06:24 +0000
5d5651861dAdded some exceptions for directives.
beder
2008-07-08 06:06:24 +0000
affc32df9dAdded some exceptions for directives.
beder
2008-07-08 06:06:24 +0000
6c2946bf58Combined 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.
Jesse Beder
2008-07-08 05:48:38 +0000
2f5c19fa00Combined 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.
beder
2008-07-08 05:48:38 +0000
cf0b3834b8Combined 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.
beder
2008-07-08 05:48:38 +0000
115cf601e9Added a (recursive) ordering, so we have a canonical output that we can compare.
Jesse Beder
2008-07-06 00:06:36 +0000
1acc0e4982Added a (recursive) ordering, so we have a canonical output that we can compare.
beder
2008-07-06 00:06:36 +0000
28a0a3bb3cAdded a (recursive) ordering, so we have a canonical output that we can compare.
beder
2008-07-06 00:06:36 +0000
2a0ddc8cb2Wrote some tests, but they don't work because it doesn't output maps in a canonical form.
Jesse Beder
2008-07-05 19:00:58 +0000
3cad5a2ed0Wrote some tests, but they don't work because it doesn't output maps in a canonical form.
beder
2008-07-05 19:00:58 +0000
99049801cfWrote some tests, but they don't work because it doesn't output maps in a canonical form.
beder
2008-07-05 19:00:58 +0000
dacc631968Rewrote the output so that it emits correct YAML. Fixed a bug in the last newline of a block folded scalar.
Jesse Beder
2008-07-05 05:28:23 +0000
ba97c9f719Rewrote the output so that it emits correct YAML. Fixed a bug in the last newline of a block folded scalar.
beder
2008-07-05 05:28:23 +0000
74e6e2dd7dRewrote the output so that it emits correct YAML. Fixed a bug in the last newline of a block folded scalar.
beder
2008-07-05 05:28:23 +0000
ed488e5197Removed the document class (since it's really just a root node, and that's it).
Jesse Beder
2008-07-04 22:56:43 +0000
c4c873733bRemoved the document class (since it's really just a root node, and that's it).
beder
2008-07-04 22:56:43 +0000
73cb5818b4Removed the document class (since it's really just a root node, and that's it).
beder
2008-07-04 22:56:43 +0000
2be40919deSpecialized the overloaded [] operator for int/unsigned, and added a size() function, so that you can iterate through a sequence node like a vector.
Jesse Beder
2008-07-02 21:41:54 +0000
99a9aaa591Specialized the overloaded [] operator for int/unsigned, and added a size() function, so that you can iterate through a sequence node like a vector.
beder
2008-07-02 21:41:54 +0000
d902e94ae5Specialized the overloaded [] operator for int/unsigned, and added a size() function, so that you can iterate through a sequence node like a vector.
beder
2008-07-02 21:41:54 +0000
2ccbfeff47Added some parser exceptions.
Jesse Beder
2008-07-02 05:00:32 +0000
620c322df5Added some parser exceptions.
beder
2008-07-02 05:00:32 +0000
1ea0c1b14bAdded some parser exceptions.
beder
2008-07-02 05:00:32 +0000
901d16a96fOverloaded the iterator's -> operator.
Jesse Beder
2008-07-02 01:32:19 +0000
807045bc14Overloaded the iterator's -> operator.
beder
2008-07-02 01:32:19 +0000
7c6d2aa0cdOverloaded the iterator's -> operator.
beder
2008-07-02 01:32:19 +0000
d56b54b34fAdded an iterator class that can iterate through both sequence and map nodes.
Jesse Beder
2008-07-02 01:22:39 +0000
b4b287c4e9Added an iterator class that can iterate through both sequence and map nodes.
beder
2008-07-02 01:22:39 +0000
cf0d67872fAdded an iterator class that can iterate through both sequence and map nodes.
beder
2008-07-02 01:22:39 +0000
4c5a488f68Tags, anchors, and aliases are all parsed now.
Jesse Beder
2008-07-01 06:28:10 +0000
8eb50fe9d0Tags, anchors, and aliases are all parsed now.
beder
2008-07-01 06:28:10 +0000
b07b1a9f25Tags, anchors, and aliases are all parsed now.
beder
2008-07-01 06:28:10 +0000
8180a85a3bAdded parsing of anchors, aliases, and tags (still no semantics yet). Fixed a silly bug in the simple key pushing (queues are FIFO!).
Jesse Beder
2008-07-01 01:17:10 +0000
104da5c244Added parsing of anchors, aliases, and tags (still no semantics yet). Fixed a silly bug in the simple key pushing (queues are FIFO!).
beder
2008-07-01 01:17:10 +0000
dc64419e45Added parsing of anchors, aliases, and tags (still no semantics yet). Fixed a silly bug in the simple key pushing (queues are FIFO!).
beder
2008-07-01 01:17:10 +0000
121c2e577fFinished parsing of basic data types (scalar, sequence, map).
Jesse Beder
2008-06-30 23:57:58 +0000
d41503da5aFinished parsing of basic data types (scalar, sequence, map).
beder
2008-06-30 23:57:58 +0000
cfa85e0878Finished parsing of basic data types (scalar, sequence, map).
beder
2008-06-30 23:57:58 +0000
c1966ba3fcRenamed the stream member functions get() and eat().
Jesse Beder
2008-06-30 22:34:10 +0000
146122f455Renamed the stream member functions get() and eat().
beder
2008-06-30 22:34:10 +0000
31e25df6cfRenamed the stream member functions get() and eat().
beder
2008-06-30 22:34:10 +0000
852e5b63e5Instead 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
2008-06-30 21:47:21 +0000
17533e22daInstead 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
2008-06-30 21:47:21 +0000
7f712a651bInstead 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
2008-06-30 21:47:21 +0000
b6a0ef207bStarted the parser.
Jesse Beder
2008-06-30 06:51:22 +0000
2a7e20a315Started the parser.
beder
2008-06-30 06:51:22 +0000
1c9b8bb159Started the parser.
beder
2008-06-30 06:51:22 +0000
ed6c294749Added a peek token command (for the parser to use).
Jesse Beder
2008-06-30 06:21:12 +0000
795df7224bAdded a peek token command (for the parser to use).
beder
2008-06-30 06:21:12 +0000
d2ed35b47aAdded a peek token command (for the parser to use).
beder
2008-06-30 06:21:12 +0000
07d4cac48fAdded directives and tags.
Jesse Beder
2008-06-30 04:22:41 +0000
a93584b065Added directives and tags.
beder
2008-06-30 04:22:41 +0000
bb25e87f57Added directives and tags.
beder
2008-06-30 04:22:41 +0000
2b8628922fMoved 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
2008-06-30 01:38:32 +0000
b58c0c94e4Moved 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.
beder
2008-06-30 01:38:32 +0000
46ab9103a6Moved 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.
beder
2008-06-30 01:38:32 +0000
67250833b8Mostly finished refactoring the scalar scanning.
beder
2008-06-30 01:31:23 +0000
88e6bc7718Mostly finished refactoring the scalar scanning.
beder
2008-06-30 01:31:23 +0000
5f8252ee6fMoved scalar scanning-related parameters to a struct. Renamed the valid/possible tokens to a single variable status with enums valid, invalid, and unverified.
Jesse Beder
2008-06-29 17:39:33 +0000
4de9cb48a5Moved scalar scanning-related parameters to a struct. Renamed the valid/possible tokens to a single variable status with enums valid, invalid, and unverified.
beder
2008-06-29 17:39:33 +0000
8ffdbb026dMoved scalar scanning-related parameters to a struct. Renamed the valid/possible tokens to a single variable status with enums valid, invalid, and unverified.
beder
2008-06-29 17:39:33 +0000
ff99f85a6dMoved 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
2008-06-29 06:32:13 +0000
6efc5614ecMoved 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
2008-06-29 06:32:13 +0000
7478308488Moved 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
2008-06-29 06:32:13 +0000
0d5a97bffeRefactored common scalar scanning code (from plain, quoted, and block) to one function.
Jesse Beder
2008-06-29 05:45:41 +0000
8dfb5c0ea8Refactored common scalar scanning code (from plain, quoted, and block) to one function.
beder
2008-06-29 05:45:41 +0000
88ee96d432Refactored common scalar scanning code (from plain, quoted, and block) to one function.
beder
2008-06-29 05:45:41 +0000
6c193d6fbdMoved the scalar-related functions to their own file.
Jesse Beder
2008-06-29 03:11:25 +0000
3c56fd49ebMoved the scalar-related functions to their own file.
beder
2008-06-29 03:11:25 +0000
abcea93589Moved the scalar-related functions to their own file.
beder
2008-06-29 03:11:25 +0000