Artifact
6f80feb4218e1874028481f8bad3497a0f7f6662a372595efb722a6d30a3b4ac:
- File
tests/results/interpolation/basic.interpolation
— 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: 55)
- File
tests/results/spec/interpolation/basic.interpolation
— 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: 55)
- lit 'Hello,\s'
- var/escaped 9 'subject'
- lit '!\n'