diff --git a/dochack.js b/dochack.js
index 854c529..4db4366 100644
--- a/dochack.js
+++ b/dochack.js
@@ -1,4 +1,4 @@
-/* Generated by the Nim Compiler v2.0.0 */
+/* Generated by the Nim Compiler v2.0.2 */
var framePtr = null;
var excHandler = 0;
var lastJSError = null;
@@ -56,7 +56,9 @@ var NNI721420302 = {kind: 2, len: 2, offset: 0, typ: null, name: null, sons: [{k
NTI721420302.node = NNI721420302;
function mnewString(len_33557003) {
- return new Array(len_33557003);
+ var result = new Array(len_33557003);
+ for (var i = 0; i < len_33557003; i++) {result[i] = 0;}
+ return result;
diff --git a/index.html b/index.html
index 398a645..e0635bd 100644
--- a/index.html
+++ b/index.html
@@ -12,10 +12,10 @@
-
+
-
+
@@ -107,7 +107,7 @@
src/nyml
-
Add support for loose, direct to object parser https://github.com/treeform/jsony
+
@@ -249,7 +249,7 @@
- Made with Nim. Generated: 2023-10-24 07:04:37 UTC
+ Made with Nim. Generated: 2024-03-27 14:29:00 UTC
diff --git a/nyml.idx b/nyml.idx
index 6a4acec..c23cbc9 100644
--- a/nyml.idx
+++ b/nyml.idx
@@ -1,12 +1,12 @@
nimTitle nyml index.html module src/nyml 0
-nim parse index.html#parse,YAML proc parse(n: YAML): Parser 17
-nim yaml index.html#yaml,string,JsonNode proc yaml(contents: string; prettyPrint = false; data: JsonNode = nil): YAML 21
-nim toJson index.html#toJson,YAML proc toJson(n: YAML): Document 25
-nim toJsonStr index.html#toJsonStr,YAML,int proc toJsonStr(n: YAML; prettyPrint = false; indent = 2): string 34
-nim toJsonStr index.html#toJsonStr,YAML,seq[string],int proc toJsonStr(n: YAML; ruler: seq[string]; prettyPrint = false; indent = 2): string 46
-nim `$` index.html#$,YAML proc `$`(n: YAML): string 53
-nim toYAML index.html#toYAML,JsonNode proc toYAML(json: JsonNode): string 57
-nim toYAML index.html#toYAML,string proc toYAML(json: string): string 58
-nim fromYaml index.html#fromYaml.t,string,typedesc[] template fromYaml(str: string; obj: typedesc[object]): untyped 62
-nimgrp toyaml index.html#toYAML-procs-all proc 57
-nimgrp tojsonstr index.html#toJsonStr-procs-all proc 34
+nim parse index.html#parse,YAML proc parse(n: YAML): Parser 16
+nim yaml index.html#yaml,string,JsonNode proc yaml(contents: string; prettyPrint = false; data: JsonNode = nil): YAML 20
+nim toJson index.html#toJson,YAML proc toJson(n: YAML): Document 24
+nim toJsonStr index.html#toJsonStr,YAML,int proc toJsonStr(n: YAML; prettyPrint = false; indent = 2): string 33
+nim toJsonStr index.html#toJsonStr,YAML,seq[string],int proc toJsonStr(n: YAML; ruler: seq[string]; prettyPrint = false; indent = 2): string 45
+nim `$` index.html#$,YAML proc `$`(n: YAML): string 52
+nim toYAML index.html#toYAML,JsonNode proc toYAML(json: JsonNode): string 56
+nim toYAML index.html#toYAML,string proc toYAML(json: string): string 57
+nim fromYaml index.html#fromYaml.t,string,typedesc[] template fromYaml(str: string; obj: typedesc[object]): untyped 59
+nimgrp toyaml index.html#toYAML-procs-all proc 56
+nimgrp tojsonstr index.html#toJsonStr-procs-all proc 33
diff --git a/nyml/dump.html b/nyml/dump.html
index c79e3d0..3a4c680 100644
--- a/nyml/dump.html
+++ b/nyml/dump.html
@@ -12,10 +12,10 @@
-
+
-
+
@@ -119,7 +119,7 @@
- Made with Nim. Generated: 2023-10-24 07:04:37 UTC
+ Made with Nim. Generated: 2024-03-27 14:29:00 UTC
diff --git a/nyml/dump.idx b/nyml/dump.idx
index bda93e0..a10dba7 100644
--- a/nyml/dump.idx
+++ b/nyml/dump.idx
@@ -1,3 +1,3 @@
nimTitle dump nyml/dump.html module src/nyml/dump 0
-nim JD nyml/dump.html#JD object JD 13
-nim dump nyml/dump.html#dump,JsonNode proc dump(n: JsonNode): string 70
+nim JD nyml/dump.html#JD object JD 12
+nim dump nyml/dump.html#dump,JsonNode proc dump(n: JsonNode): string 69
diff --git a/nyml/meta.html b/nyml/meta.html
index 9c06bdf..34c186d 100644
--- a/nyml/meta.html
+++ b/nyml/meta.html
@@ -12,10 +12,10 @@
-
+
-
+
@@ -255,7 +255,7 @@
- Made with Nim. Generated: 2023-10-24 07:04:36 UTC
+ Made with Nim. Generated: 2024-03-27 14:29:00 UTC
diff --git a/nyml/meta.idx b/nyml/meta.idx
index b4b7646..812a0b3 100644
--- a/nyml/meta.idx
+++ b/nyml/meta.idx
@@ -1,12 +1,12 @@
nimTitle meta nyml/meta.html module src/nyml/meta 0
-nim YAMLException nyml/meta.html#YAMLException object YAMLException 14
-nim YAML nyml/meta.html#YAML object YAML 16
-nim Document nyml/meta.html#Document type Document 23
-nim newDocument nyml/meta.html#newDocument,JsonNode proc newDocument(contents: JsonNode): Document 31
-nim init nyml/meta.html#init,typedesc[N],string,JsonNode proc init[N: YAML](newNyml: typedesc[N]; str: string; pretty = false; data: JsonNode): N 33
-nim isPretty nyml/meta.html#isPretty,YAML proc isPretty(n: YAML): bool 37
-nim get nyml/meta.html#get,Document,string,JsonNode proc get(doc: Document; key: string = ""; default: JsonNode = nil): JsonNode 63
-nim exists nyml/meta.html#exists,JsonNode proc exists(field: JsonNode): bool 70
-nim rules nyml/meta.html#rules,Document,openArray[tuple[string,JsonNodeKind]] proc rules(doc: var Document;\n docRules: openArray[tuple[key: string, kind: JsonNodeKind]]) 73
-nim hasErrors nyml/meta.html#hasErrors,Document proc hasErrors(doc: Document): bool 81
-nim getErrors nyml/meta.html#getErrors,Document proc getErrors(doc: Document): string 84
+nim YAMLException nyml/meta.html#YAMLException object YAMLException 13
+nim YAML nyml/meta.html#YAML object YAML 15
+nim Document nyml/meta.html#Document type Document 22
+nim newDocument nyml/meta.html#newDocument,JsonNode proc newDocument(contents: JsonNode): Document 30
+nim init nyml/meta.html#init,typedesc[N],string,JsonNode proc init[N: YAML](newNyml: typedesc[N]; str: string; pretty = false; data: JsonNode): N 32
+nim isPretty nyml/meta.html#isPretty,YAML proc isPretty(n: YAML): bool 36
+nim get nyml/meta.html#get,Document,string,JsonNode proc get(doc: Document; key: string = ""; default: JsonNode = nil): JsonNode 62
+nim exists nyml/meta.html#exists,JsonNode proc exists(field: JsonNode): bool 69
+nim rules nyml/meta.html#rules,Document,openArray[tuple[string,JsonNodeKind]] proc rules(doc: var Document;\n docRules: openArray[tuple[key: string, kind: JsonNodeKind]]) 72
+nim hasErrors nyml/meta.html#hasErrors,Document proc hasErrors(doc: Document): bool 80
+nim getErrors nyml/meta.html#getErrors,Document proc getErrors(doc: Document): string 83
diff --git a/nyml/parser.html b/nyml/parser.html
index 6db3d98..8d2301a 100644
--- a/nyml/parser.html
+++ b/nyml/parser.html
@@ -12,10 +12,10 @@
-
+
-
+
@@ -443,7 +443,7 @@
- Made with Nim. Generated: 2023-10-24 07:04:37 UTC
+ Made with Nim. Generated: 2024-03-27 14:29:00 UTC
diff --git a/nyml/parser.idx b/nyml/parser.idx
index 36bac4c..ea3490b 100644
--- a/nyml/parser.idx
+++ b/nyml/parser.idx
@@ -1,8 +1,8 @@
nimTitle parser nyml/parser.html module src/nyml/parser 0
-nim TokenKind nyml/parser.html#TokenKind enum TokenKind 119
-nim TokenTuple nyml/parser.html#TokenTuple tuple TokenTuple 119
-nim Lexer nyml/parser.html#Lexer object Lexer 119
-nim LexerException nyml/parser.html#LexerException object LexerException 119
+nim TokenKind nyml/parser.html#TokenKind enum TokenKind 118
+nim TokenTuple nyml/parser.html#TokenTuple tuple TokenTuple 118
+nim Lexer nyml/parser.html#Lexer object Lexer 118
+nim LexerException nyml/parser.html#LexerException object LexerException 118
nim newLexer nyml/parser.html#newLexer,string,bool proc newLexer(fileContent`gensym0: string; allowMultilineStrings`gensym0 = false): Lexer 562
nim lexReady nyml/parser.html#lexReady,Lexer proc lexReady(lex`gensym0: var Lexer) 573
nim inc nyml/parser.html#inc,Lexer,int proc inc(lex`gensym0: var Lexer; offset`gensym0 = 1) 577
@@ -14,14 +14,14 @@ nim getError nyml/parser.html#getError,Lexer proc getError(lex`gensym0: Lexer):
nim hasLetters nyml/parser.html#hasLetters,Lexer,int proc hasLetters(lex`gensym0: var Lexer; pos`gensym0: int): bool 605
nim hasNumbers nyml/parser.html#hasNumbers,Lexer,int proc hasNumbers(lex`gensym0: var Lexer; pos`gensym0: int): bool 608
nim skip nyml/parser.html#skip,Lexer proc skip(lex`gensym0: var Lexer) 611
-nim handleAltString nyml/parser.html#handleAltString,Lexer,TokenKind proc handleAltString(lex: var Lexer; kind: TokenKind) 15
-nim handleComment nyml/parser.html#handleComment,Lexer,TokenKind proc handleComment(lex: var Lexer; kind: TokenKind) 51
-nim handleVariable nyml/parser.html#handleVariable,Lexer,TokenKind proc handleVariable(lex: var Lexer; kind: TokenKind) 72
-nim getToken nyml/parser.html#getToken,Lexer proc getToken(lex: var Lexer): TokenTuple 113
-nim Parser nyml/parser.html#Parser object Parser 144
-nim hasError nyml/parser.html#hasError,T proc hasError[T: Parser](p: var T): bool 186
-nim getError nyml/parser.html#getError,T proc getError[T: Parser](p: var T): string 189
-nim getContents nyml/parser.html#getContents,Parser proc getContents(p: var Parser): string 202
-nim parseYAML nyml/parser.html#parseYAML,YAML,string proc parseYAML(yml: YAML; strContents: string): Parser 460
+nim handleAltString nyml/parser.html#handleAltString,Lexer,TokenKind proc handleAltString(lex: var Lexer; kind: TokenKind) 14
+nim handleComment nyml/parser.html#handleComment,Lexer,TokenKind proc handleComment(lex: var Lexer; kind: TokenKind) 50
+nim handleVariable nyml/parser.html#handleVariable,Lexer,TokenKind proc handleVariable(lex: var Lexer; kind: TokenKind) 71
+nim getToken nyml/parser.html#getToken,Lexer proc getToken(lex: var Lexer): TokenTuple 112
+nim Parser nyml/parser.html#Parser object Parser 143
+nim hasError nyml/parser.html#hasError,T proc hasError[T: Parser](p: var T): bool 185
+nim getError nyml/parser.html#getError,T proc getError[T: Parser](p: var T): string 188
+nim getContents nyml/parser.html#getContents,Parser proc getContents(p: var Parser): string 201
+nim parseYAML nyml/parser.html#parseYAML,YAML,string proc parseYAML(yml: YAML; strContents: string): Parser 459
nimgrp haserror nyml/parser.html#hasError-procs-all proc 589
nimgrp geterror nyml/parser.html#getError-procs-all proc 590
diff --git a/theindex.html b/theindex.html
index fc89436..b510495 100644
--- a/theindex.html
+++ b/theindex.html
@@ -12,10 +12,10 @@
-
+
-
+
@@ -204,7 +204,7 @@
Index
- Made with Nim. Generated: 2023-10-24 07:04:37 UTC
+ Made with Nim. Generated: 2024-03-27 14:29:00 UTC