Artifact
7a83df46c58e809a7b01a8390078d2b55468f1226d45081f9dc72b02e03b0bce:
- File
tests/results/sections/standalone.lines
— part of check-in
[32af418f20]
at
2019-07-16 18:17:26
on branch run-up
— Starting my own mustache processor in Tcl.
Aware of https://github.com/ianka/mustache.tcl
it has (IMHO) some shortcomings (*) I hope to address.
Now:
- Basic parser, not fully complete
- Does not handle partials yet.
- Does not handle standalone properly yet.
- Most of a testsuite based on the original spec and yaml files found
at https://github.com/mustache/spec
- Start on context object and renderer.
Todo:
- Frame object and glue for testsuite (translation of the yaml context
information into a frame).
- May (have to) switch to TclYAML for better type information.
~~~
(*) Interpreter, no separation of compiler/render, reparses the
template for nested sections over and over.
(user:
aku
size: 81)
- File
tests/results/spec/sections/standalone.lines
— part of check-in
[45032c8f57]
at
2019-07-18 23:28:54
on branch run-up
— General re-shuffling of input and result files for tests.
The original yaml-based test cases are now under `tests/inputs/spec`
and everything else will be in sibling directories of it.
Similarly the local results (parse structures) associated with the
yaml-based tests are now under `tests/results/spec`, and everything
else is in sibling directories of it.
The `z_` prefix for the local results is now gone as part of that.
Started testsuite for the rendering backend.
Untested: partials and all forms of sections.
(user:
andreask
size: 81)
- lit '|\sThis\sIs\n'
- section 'boolean'
- lit '\n|\n'
- lit '\n|\sA\sLine\n'