initial codebase

This commit is contained in:
pantor
2017-08-12 13:57:34 +02:00
parent d5c99dcb16
commit d0eeb111ea
10 changed files with 26322 additions and 2 deletions

1
test/data/include.txt Normal file
View File

@@ -0,0 +1 @@
Answer: (% include "simple.txt" %)

11
test/data/nested.txt Normal file
View File

@@ -0,0 +1,11 @@
^{% for x in x_array %}
{% for y in y_array %}
{{x}}-{{y}}
{% endfor %}
{% endfor %}
json a;
a["type"] = loop|condition|include
a["command"] = x in x_array
a["innerString"] = "..."
a["children"] = []

1
test/data/simple.txt Normal file
View File

@@ -0,0 +1 @@
Hello {{ name }}.