Carrot/test-sources/simple/simple-00.txt

7 lines
283 B
Plaintext

<root> = <instruction_list>;
<instruction_list> = <instruction> <instruction_list> | <instruction>;
<instruction> = <if> | <scope>;
<if> = "if" <condition> <scope>;
<condition> = "1" | "0";
<scope> = "{" <instruction_list> "}";