26 Commits

Author SHA1 Message Date
Felix Krause
f60725fc93 Made loading work at compile time
* dumping doesn't work at CT
 * timestamps don't work at CT
 * aliases don't work at CT
 * renamed tserialization -> tnative to mirror rename of native.nim file
 * added comptime tests to tnative, currently only execute when doing
   nim nativeTests, because of compiler bug
 * Fixes #70, #91
2023-08-30 21:14:31 +02:00
Felix Krause
940675a52e Reworked loading API
* moved load procs to yaml/loading.nim
 * moved input YamlStream into ConstructionContext
 * made ConstructionContext a non-ref object
 * harmonized code style & comments
 * renamed yaml/serialization.nim to yaml/native.nim
2023-08-29 23:23:15 +02:00
Felix Krause
39444f6536 Consolidated exceptions 2023-03-18 13:54:45 +01:00
xflywind
a5552a1a18 replace shallowCopy for ARC/ORC 2022-08-29 16:30:26 +02:00
Felix Krause
1346467b42 fixes #93 2021-05-18 00:31:47 +02:00
Felix Krause
a72966374f fixes #90 2021-05-18 00:28:24 +02: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
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
Alexander Ivanov
566e28dcc5 Make it work with new not nil 2018-10-12 16:00:39 +02:00
majj
51d33d4a05 experimental: notnil 2018-08-24 13:30:05 +02:00
Felix Krause
83efb88978 Fixed compilation error 2017-02-18 12:31:23 +01: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
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
0ef9cbf535 Moved private sources to yaml/private 2017-02-06 20:39:04 +01: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
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