Commit Graph

314 Commits

Author SHA1 Message Date
Felix Krause 01416f61be Improved mixing block and flow content 2015-12-10 23:02:06 +01:00
Felix Krause ed7176131e Implemented flow style parsing
* Fixed lexer error where comma did not get properly processed
 * Implemented flow style in parser
 * Added tests
2015-12-10 22:28:57 +01:00
Felix Krause e642e41f90 Bug fixes in lexer and parser
* Lexer: column now always points to start of token
 * Lexer: added ability to compile with -d:yamlDebug for debug output
 * Parser: Correctly handle nested sequences and maps
 * Tests: Added parser tests for nested objects
2015-12-10 20:53:43 +01:00
Felix Krause 73ce41bbef Added parsing tests; got basic parsing working 2015-12-07 22:09:57 +01:00
Felix Krause ada4a36e6e Lexer: Fixed parsing verbatim tags 2015-12-07 19:09:02 +01:00
Felix Krause 0544a8bba0 Added sequential parser 2015-12-05 12:10:17 +01:00
Felix Krause 26c1c07567 No position in token; line and column in lexer 2015-11-30 20:36:55 +01:00
Felix Krause 9a3cf9a524 Renamed *LexerEvent* to *LexerToken* 2015-11-30 19:52:01 +01:00
Felix Krause 8493015042 Implemented anchors and aliases 2015-11-29 22:43:10 +01:00
Felix Krause f876c845b7 Own token kinds for every special char, more tests 2015-11-29 22:27:05 +01:00
Felix Krause 71456c6bed Fixed unicode escaping; added tests 2015-11-29 21:01:22 +01:00
Felix Krause f793247a41 Fixed line break handling 2015-11-29 16:50:27 +01:00
Felix Krause 9cba968c1e Separation between directives and content; tests 2015-11-29 15:42:41 +01:00
Felix Krause a7c159933b Initial commit 2015-11-27 23:42:11 +01:00