Commit Graph

399 Commits

Author SHA1 Message Date
Felix Krause 2ad41d349e Improved and fixed issues with error reporting 2016-09-23 15:42:24 +02:00
Felix Krause a8d68d1696 Addressed some compiler warnings 2016-09-22 14:25:10 +02:00
Felix Krause 680e419d12 Simplified field checking 2016-09-22 14:16:10 +02:00
Felix Krause 9fffc7b127 Fixed links in documentation 2016-09-22 14:06:54 +02:00
Felix Krause 1dc8ddc6ea got rid of yaml.common 2016-09-22 13:28:24 +02:00
Felix Krause 5dfc984913 Updated documentation for new structure 2016-09-21 21:20:57 +02:00
Felix Krause d987b607e5 Check for custom object errors when loading
* Ensure no duplicate fields
 * Ensure no missing fields
 * Ensure no unknown fields
 * Implemented for both tuples and objects,
   including variant objects
2016-09-21 15:40:03 +02:00
Felix Krause 6bb110b185 Made bench great again 2016-09-21 10:44:40 +02:00
Felix Krause 12960b2e31 Restructuring: no more includes 2016-09-20 21:53:38 +02:00
Felix Krause 8b3f8f5282 Made test names more consistent 2016-09-20 19:22:31 +02:00
Felix Krause 650b858861 Updated serialization documentation 2016-09-20 18:48:14 +02:00
Felix Krause f4f1817180 travis fix; added travis badge 2016-09-20 18:33:52 +02:00
Felix Krause ee302cf0dc Added .travis.yml 2016-09-20 18:27:32 +02:00
flyx 11a1de43be Merge pull request #27 from GaveUp/devel
Add octal/hex support. Add multi doc support.
2016-09-20 18:11:09 +02:00
GaveUp 6f8dfdcd00 Code cleanup per comments 2016-09-19 15:51:33 -05:00
GaveUp 2c470c8aa9 Add octal/hex support. Add multi doc support. 2016-09-19 14:40:03 -05:00
Felix Krause 2f3a809738 Support JS string output in presenter 2016-09-19 19:33:29 +02:00
Felix Krause 2bb7f45354 Improved tests, benchs, shallowCopies 2016-09-14 18:31:09 +02:00
Felix Krause 2655d4205f Improved error reporting, fixes #23 2016-09-14 14:53:13 +02:00
Felix Krause 1e399aca70 Merge branch 'lexer' into devel 2016-09-14 14:44:29 +02:00
Felix Krause 7461636365 Fixed bench config 2016-09-14 14:44:09 +02:00
Felix Krause 4670450a27 Fixed bench and remaining problems 2016-09-14 14:35:41 +02:00
Felix Krause 345f86c52e Pass almost all test in yaml test suite 2016-09-14 13:37:56 +02:00
Felix Krause b64e40ec41 Fixed more test suite failures 2016-09-14 12:18:00 +02:00
Felix Krause 2a6a103b36 Fixed block scalars in yaml test suite 2016-09-13 20:19:02 +02:00
Felix Krause 451ffb8e95 Started fixing yaml test suite errors 2016-09-13 13:38:10 +02:00
Felix Krause 78fa4ac5e3 Improvements to exception handling 2016-09-13 12:01:21 +02:00
Felix Krause 92504c1893 JSON tests working again. Other tests TODO 2016-09-13 10:39:54 +02:00
Felix Krause 92f5a7a6fd got parse.nim to compile again
* it is still pretty broken
2016-09-12 21:38:56 +02:00
Felix Krause 7376af7d6f started patching parse.nim 2016-09-12 18:04:26 +02:00
Felix Krause a1f900ae44 Enhanced empty line processing 2016-09-11 19:20:02 +02:00
Felix Krause b9286fa550 Implemented lookahead 2016-09-11 18:23:47 +02:00
Felix Krause c104ffec01 Added token start memory to lexer 2016-09-11 14:55:29 +02:00
Felix Krause 4e97e53489 Implemented anchors and aliases 2016-09-11 13:04:10 +02:00
Felix Krause 4d1a444f61 Implemented tag handles 2016-09-11 12:52:24 +02:00
Felix Krause 279d233c4f Implemented adjacent values in flow style 2016-09-11 12:13:51 +02:00
Felix Krause 383f1ab016 Made lexer non-generic 2016-09-11 11:28:05 +02:00
Felix Krause acea6e34b6 Renaming of stuff 2016-09-11 10:02:10 +02:00
Felix Krause 8e7b3b32bb lexer: Flow indicators 2016-09-10 17:33:58 +02:00
Felix Krause ba02b41555 lexer: worked on block scalars and stuff 2016-09-10 17:19:37 +02:00
Felix Krause 79f432a27d lexer: implemented quoted scalars 2016-09-10 13:38:42 +02:00
Felix Krause 68a157e173 First compiling version (incomplete) 2016-09-10 12:38:03 +02:00
Felix Krause d51872f9e7 Started work on new lexer 2016-09-10 10:30:40 +02:00
Felix Krause 5a90255993 Fixed remaining JS compilation issues
* Changed transform() to not use first class iterators
 * provide a archaic `$` for uints that will break if
   poked
 * TODO: test JS output!
2016-09-01 21:08:27 +02:00
Felix Krause ad18db5113 Do not use first class iterators in serialization
* needed for JS backend
2016-09-01 20:56:34 +02:00
Felix Krause ef9159ab98 Removed trailing ws; JS fixes
* do not call writeStackTrace() if compiling to JS
2016-08-30 22:15:29 +02:00
Felix Krause 34cbe61479 Got rid of lots of compiler warnings 2016-08-17 22:50:37 +02:00
Felix Krause 30365d2f17 More refactoring
* Renamed ParserYamlStream to ParserContext
 * Moved almost all internal state from YamlParser to ParserContext
2016-08-17 22:21:34 +02:00
Felix Krause b83babf808 Merge branch 'parser-no-iterators' into devel 2016-08-17 20:06:17 +02:00
Felix Krause a9b82b0e45 Finished parser refactoring
* Re-implemented flow style handling
 * Deleted old parser code
2016-08-17 20:04:59 +02:00