Skip to content
Eugene edited this page Mar 15, 2017 · 1 revision

import std.stdio;

import std.string; import std.array; import std.variant;

enum Tag { BLOCK_START = "{{", BLOCK_END = "}}", VARIABLE_START = "{%", VARIABLE_END = "%}", COMMENT_START = "{#", COMMENT_END = "#}" }

struct Expression {

Expression[] childExpressions;

}

void main() { testTags(); }

//void render(string data, ALIASES...);

// {{ }} prints the result of an expression evaluation; // {% %} executes statements. void testTags() { string value = "{{ }}"; string ifoperator = "if online == false"; writeln(ifoperator.split(" ")); }

//{% if online == false %} //

Our website is in maintenance mode. Please, come back later.

//{% endif %}

class Parser {

}

Clone this wiki locally