Commit Graph

  • 7fa279cbc7 beder 2008-07-14 04:37:58 +0000
  • cadc04ce47 Moved all code to src/ and include/ directories. Jesse Beder 2008-07-14 04:33:30 +0000
  • 516637fcdc Moved all code to src/ and include/ directories. beder 2008-07-14 04:33:30 +0000
  • 68793e425e Moved all code to src/ and include/ directories. beder 2008-07-14 04:33:30 +0000
  • 4cfa233888 Switched 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
  • e6aeb45d09 Switched 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
  • b9a365f436 Switched 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
  • 03e6b5b991 Centralized the error messages to one location. Jesse Beder 2008-07-08 20:31:48 +0000
  • 0b2e0dd32b Centralized the error messages to one location. beder 2008-07-08 20:31:48 +0000
  • b37d66d61e Centralized the error messages to one location. beder 2008-07-08 20:31:48 +0000
  • c0c55fe50b Removed 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
  • 84bcdda342 Removed 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
  • 71da537fc6 Removed 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
  • a8a0fb41cb Added some exceptions for directives. Jesse Beder 2008-07-08 06:06:24 +0000
  • 5d5651861d Added some exceptions for directives. beder 2008-07-08 06:06:24 +0000
  • affc32df9d Added some exceptions for directives. beder 2008-07-08 06:06:24 +0000
  • 6c2946bf58 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. Jesse Beder 2008-07-08 05:48:38 +0000
  • 2f5c19fa00 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. beder 2008-07-08 05:48:38 +0000
  • cf0b3834b8 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. beder 2008-07-08 05:48:38 +0000
  • 115cf601e9 Added a (recursive) ordering, so we have a canonical output that we can compare. Jesse Beder 2008-07-06 00:06:36 +0000
  • 1acc0e4982 Added a (recursive) ordering, so we have a canonical output that we can compare. beder 2008-07-06 00:06:36 +0000
  • 28a0a3bb3c Added a (recursive) ordering, so we have a canonical output that we can compare. beder 2008-07-06 00:06:36 +0000
  • 2a0ddc8cb2 Wrote 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
  • 3cad5a2ed0 Wrote 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
  • 99049801cf Wrote 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
  • dacc631968 Rewrote 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
  • ba97c9f719 Rewrote 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
  • 74e6e2dd7d Rewrote 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
  • d98007b0be Jesse Beder 2008-07-04 22:57:52 +0000
  • 5feaef3748 beder 2008-07-04 22:57:52 +0000
  • c1f3a541c5 beder 2008-07-04 22:57:52 +0000
  • ed488e5197 Removed the document class (since it's really just a root node, and that's it). Jesse Beder 2008-07-04 22:56:43 +0000
  • c4c873733b Removed the document class (since it's really just a root node, and that's it). beder 2008-07-04 22:56:43 +0000
  • 73cb5818b4 Removed the document class (since it's really just a root node, and that's it). beder 2008-07-04 22:56:43 +0000
  • 2be40919de Specialized 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
  • 99a9aaa591 Specialized 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
  • d902e94ae5 Specialized 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
  • 2ccbfeff47 Added some parser exceptions. Jesse Beder 2008-07-02 05:00:32 +0000
  • 620c322df5 Added some parser exceptions. beder 2008-07-02 05:00:32 +0000
  • 1ea0c1b14b Added some parser exceptions. beder 2008-07-02 05:00:32 +0000
  • 901d16a96f Overloaded the iterator's -> operator. Jesse Beder 2008-07-02 01:32:19 +0000
  • 807045bc14 Overloaded the iterator's -> operator. beder 2008-07-02 01:32:19 +0000
  • 7c6d2aa0cd Overloaded the iterator's -> operator. beder 2008-07-02 01:32:19 +0000
  • d56b54b34f Added an iterator class that can iterate through both sequence and map nodes. Jesse Beder 2008-07-02 01:22:39 +0000
  • b4b287c4e9 Added an iterator class that can iterate through both sequence and map nodes. beder 2008-07-02 01:22:39 +0000
  • cf0d67872f Added an iterator class that can iterate through both sequence and map nodes. beder 2008-07-02 01:22:39 +0000
  • f7358701f2 Fixed opening newline bug for block scalars. Jesse Beder 2008-07-01 06:34:55 +0000
  • 81ff4946ae Fixed opening newline bug for block scalars. beder 2008-07-01 06:34:55 +0000
  • aad4c081fe Fixed opening newline bug for block scalars. beder 2008-07-01 06:34:55 +0000
  • 4c5a488f68 Tags, anchors, and aliases are all parsed now. Jesse Beder 2008-07-01 06:28:10 +0000
  • 8eb50fe9d0 Tags, anchors, and aliases are all parsed now. beder 2008-07-01 06:28:10 +0000
  • b07b1a9f25 Tags, anchors, and aliases are all parsed now. beder 2008-07-01 06:28:10 +0000
  • 8180a85a3b Added 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
  • 104da5c244 Added 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
  • dc64419e45 Added 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
  • 121c2e577f Finished parsing of basic data types (scalar, sequence, map). Jesse Beder 2008-06-30 23:57:58 +0000
  • d41503da5a Finished parsing of basic data types (scalar, sequence, map). beder 2008-06-30 23:57:58 +0000
  • cfa85e0878 Finished parsing of basic data types (scalar, sequence, map). beder 2008-06-30 23:57:58 +0000
  • c1966ba3fc Renamed the stream member functions get() and eat(). Jesse Beder 2008-06-30 22:34:10 +0000
  • 146122f455 Renamed the stream member functions get() and eat(). beder 2008-06-30 22:34:10 +0000
  • 31e25df6cf Renamed the stream member functions get() and eat(). beder 2008-06-30 22:34:10 +0000
  • 852e5b63e5 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 2008-06-30 21:47:21 +0000
  • 17533e22da 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 2008-06-30 21:47:21 +0000
  • 7f712a651b 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 2008-06-30 21:47:21 +0000
  • b6a0ef207b Started the parser. Jesse Beder 2008-06-30 06:51:22 +0000
  • 2a7e20a315 Started the parser. beder 2008-06-30 06:51:22 +0000
  • 1c9b8bb159 Started the parser. beder 2008-06-30 06:51:22 +0000
  • ed6c294749 Added a peek token command (for the parser to use). Jesse Beder 2008-06-30 06:21:12 +0000
  • 795df7224b Added a peek token command (for the parser to use). beder 2008-06-30 06:21:12 +0000
  • d2ed35b47a Added a peek token command (for the parser to use). beder 2008-06-30 06:21:12 +0000
  • 07d4cac48f Added directives and tags. Jesse Beder 2008-06-30 04:22:41 +0000
  • a93584b065 Added directives and tags. beder 2008-06-30 04:22:41 +0000
  • bb25e87f57 Added directives and tags. beder 2008-06-30 04:22:41 +0000
  • 2b8628922f 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 2008-06-30 01:38:32 +0000
  • b58c0c94e4 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. beder 2008-06-30 01:38:32 +0000
  • 46ab9103a6 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. beder 2008-06-30 01:38:32 +0000
  • 0683cbf859 Mostly finished refactoring the scalar scanning. Jesse Beder 2008-06-30 01:31:23 +0000
  • 67250833b8 Mostly finished refactoring the scalar scanning. beder 2008-06-30 01:31:23 +0000
  • 88e6bc7718 Mostly finished refactoring the scalar scanning. beder 2008-06-30 01:31:23 +0000
  • 5f8252ee6f Moved 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
  • 4de9cb48a5 Moved 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
  • 8ffdbb026d Moved 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
  • ff99f85a6d 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 2008-06-29 06:32:13 +0000
  • 6efc5614ec 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 2008-06-29 06:32:13 +0000
  • 7478308488 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 2008-06-29 06:32:13 +0000
  • 0d5a97bffe Refactored common scalar scanning code (from plain, quoted, and block) to one function. Jesse Beder 2008-06-29 05:45:41 +0000
  • 8dfb5c0ea8 Refactored common scalar scanning code (from plain, quoted, and block) to one function. beder 2008-06-29 05:45:41 +0000
  • 88ee96d432 Refactored common scalar scanning code (from plain, quoted, and block) to one function. beder 2008-06-29 05:45:41 +0000
  • 6c193d6fbd Moved the scalar-related functions to their own file. Jesse Beder 2008-06-29 03:11:25 +0000
  • 3c56fd49eb Moved the scalar-related functions to their own file. beder 2008-06-29 03:11:25 +0000
  • abcea93589 Moved the scalar-related functions to their own file. beder 2008-06-29 03:11:25 +0000
  • d076252dff Jesse Beder 2008-06-29 00:33:34 +0000
  • 45dfc719e1 beder 2008-06-29 00:33:34 +0000
  • 0adbe3aa5b beder 2008-06-29 00:33:34 +0000
  • 2e27c5d9c3 Small refactoring. Jesse Beder 2008-06-28 22:05:51 +0000
  • ab27b9781e Small refactoring. beder 2008-06-28 22:05:51 +0000
  • 854d89e1e4 Small refactoring. beder 2008-06-28 22:05:51 +0000
  • 72b443375c Jesse Beder 2008-06-28 20:09:49 +0000
  • 34cd7177cd beder 2008-06-28 20:09:49 +0000
  • 44c8283aea beder 2008-06-28 20:09:49 +0000