Commit Graph

7 Commits

Author SHA1 Message Date
beder
1ea0c1b14b Added some parser exceptions. 2008-07-02 05:00:32 +00:00
beder
b07b1a9f25 Tags, anchors, and aliases are all parsed now. 2008-07-01 06:28:10 +00:00
beder
dc64419e45 Added parsing of anchors, aliases, and tags (still no semantics yet).
Fixed a silly bug in the simple key pushing (queues are FIFO!).
2008-07-01 01:17:10 +00:00
beder
cfa85e0878 Finished parsing of basic data types (scalar, sequence, map). 2008-06-30 23:57:58 +00:00
beder
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.
2008-06-30 21:47:21 +00:00
beder
1c9b8bb159 Started the parser. 2008-06-30 06:51:22 +00:00
beder
92ebd0ba82 Beginning of first attempt to parse.
Will be completely wiped, I think, in favor of a Scanner (to tokens), then Parser mechanism.
2008-06-26 06:49:50 +00:00