Commit Graph

48 Commits

Author SHA1 Message Date
Felix Krause 300dbce72a Updated test suite, fixed lexer issues 2023-03-10 22:21:18 +01:00
Felix Krause c681498701 updated tests, fixed problems 2021-10-22 17:42:48 +02:00
Felix Krause c1cc0be3f3 fixed lexer errors discovered by new parser tests 2021-10-22 17:22:43 +02:00
Felix Krause 1346467b42 fixes #93 2021-05-18 00:31:47 +02:00
Felix Krause f123924d32 fix for --gc:orc; some memory improvements 2021-05-17 23:51:35 +02:00
Felix Krause 329e18e44c removed obsolete TagLibrary type. control tag directives when dumping. fixes #95 2021-03-23 18:51:05 +01:00
Timothee Cour fcae534148 support -d:yamlDebug at CT 2020-11-14 21:58:31 +01:00
Felix Krause 45321cad13 fixes #39 2020-11-10 22:12:09 +01:00
Felix Krause e3e810fce0 all tests green again 2020-11-10 19:07:46 +01:00
Felix Krause 9d92e8a2c5 all serialization tests green again 2020-11-10 15:40:01 +01:00
Felix Krause aa65c066d5 changed TagId to Tag. removed JS stuff that wasn't working anyway. 2020-11-10 13:55:22 +01:00
Felix Krause 6238104622 started making serializationTests green again 2020-11-06 21:39:50 +01:00
Felix Krause 48d601d959 parser tests working, other tests compiling 2020-11-06 16:21:58 +01:00
Felix Krause e2f8e6419e lots of fixes for parser, started updating serialization 2020-11-05 20:23:42 +01:00
Felix Krause ae4c097a25 fixed parser test framework; started making parser tests green 2020-11-04 22:47:52 +01:00
Felix Krause 2840d4d654 made lexer tests green again 2020-11-04 19:32:09 +01:00
Felix Krause 4c604b09df made lexer & parser tests compile (not succeed) again 2020-11-04 16:40:37 +01:00
Felix Krause 1d707b184e started updating other parts of the codebase 2020-11-03 22:08:21 +01:00
Felix Krause 05b8528f3e translated parser from AdaYaml 2020-11-03 21:17:31 +01:00
Felix Krause 060fc07803 fixes #83 2020-07-05 22:21:43 +02:00
flyx 1dfc2a3333 Implemented Option serialization. Fixes #78 2020-03-08 19:58:02 +01:00
Vindaar f0eeece22d remove unnecessary cast on return value of `newStringOfCap` 2018-10-12 16:00:39 +02:00
Alexander Ivanov 566e28dcc5 Make it work with new not nil 2018-10-12 16:00:39 +02:00
majj ddf22a3a41 experimental: notnil 2018-08-24 13:30:05 +02:00
Jacob MacDonald 4933194dd6 Fix for newer versions of compiler.
61720e0df9475af647de171f6b2964c36234961a in the Nim compiler introduced the bug
in this project. In brief, the upstream change flattens `nnkStmtList`s of one
item. Thus, `quote do:` followed by one statement is no longer a nnkStmtList
but whatever that one statement is. This breaks several macro implementations
where a `quote do:` form is initialized and then appended to. Based on Araq's
feedback (https://irclogs.nim-lang.org/02-10-2017.html#21:01:26), these
single-statement quotes are now converted into one-element statement lists as
necessary (behavior on old versions of the compiler is maintained).
2017-10-03 15:59:45 +02:00
Felix Krause f017a57d86 Made NimYAML compile for JS 2017-03-29 17:14:50 +02:00
Felix Krause e30739fb36 final final fixes for event rendering 2017-02-18 10:40:39 +01:00
Felix Krause d6ace28775 (hopefully) final event output fix 2017-02-14 22:30:48 +01:00
Felix Krause b15f3dbae9 Even more fixes to event output 2017-02-14 22:22:56 +01:00
Felix Krause 8abe91cb32 Further event output improvements 2017-02-14 22:08:38 +01:00
Felix Krause 2bb32139c4 Added `+DOC ---` event output. Fixed parserTests 2017-02-14 22:06:48 +01:00
Felix Krause 9eee22bbc5 Improved event output conformity 2017-02-14 21:53:15 +01:00
Felix Krause 8b4f781d41 Added anchor name to display() 2017-02-14 19:43:02 +01:00
Felix Krause c581f1acc2 Added YamlParser.display()
* renders events with proper tag and anchor names
2017-02-14 19:40:40 +01:00
Felix Krause 58ef5da17b Made token output conform to yaml test suite
* Added -d:yamlScalarRepInd switch
 * Modified `$` on stream items to use yaml test suite format
2017-02-14 19:06:41 +01:00
Felix Krause 5ebde01ca5 Made tjson and tserialization compile for JS 2017-02-13 17:10:56 +01:00
Felix Krause 0ef9cbf535 Moved private sources to yaml/private 2017-02-06 20:39:04 +01:00
Felix Krause d8f6ea5e2d Fixed an error in flow map parsing
* { ? foo: bar } emitted an additional, second, empty
   key-value pair
2017-02-06 20:35:17 +01:00
Felix Krause e46ef33a23 Allow stream end after block scalar indicators 2017-01-13 16:25:46 +01:00
Felix Krause b99fa8df7a Fixes #35 2017-01-13 16:19:04 +01:00
Felix Krause f78c2c5961 Correctly handle `{1}`. Fixes #34 2017-01-10 12:00:15 +01:00
Felix Krause 356dc5c8bd Added testSuiteEvents tool 2017-01-09 19:09:07 +01:00
Felix Krause 44ca31b1e2 Empty documents always contain an empty scalar 2016-11-30 21:58:46 +01:00
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 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 12960b2e31 Restructuring: no more includes 2016-09-20 21:53:38 +02:00