TAKASE Ryo (loloicci)
TAKASE Ryo (loloicci)
Now, the template can use the syntax `{{ call template_name with child_of_context }}` for render `template_name` with `child_of_context`. Can it call the template with context which is not the child...
``` .../nimly/src/nimly/parsetypes.nim(165, 12) Warning: Deprecated since v0.20; sets are initialized by default; isValid is deprecated [Deprecated] .../nimly/src/nimly/parsetypes.nim(166, 16) Warning: Deprecated since v0.20; sets are initialized by default; isValid is deprecated...
Add an option to NimlLexer to lexNext / lexIter provide a specified token when the lexer reaches EOF only once. Example: ```nim # lexer setup lexer.ignoreIf = someProc lexer.produceEOFToken(tokenForEOF) #...
This is used for the type for `token` in a `niml`. https://github.com/loloicci/nimly/blob/e2a6a1677baca5bf83ca3dae04b68ca918446fc2/src/nimly/lextypes.nim#L10-L15
``` Warning: inherit from a more precise exception type like ValueError, IOError or OSError. If these don't suit, inherit from CatchableError or Defect. ```
It is not needed right now. related to #54. If someone needs this function, please comment.