From 8cfceda3b015443491fb4fd6ba27986049009102 Mon Sep 17 00:00:00 2001 From: Valk Richard Li <48872266+ValKmjolnir@users.noreply.github.com> Date: Fri, 16 Aug 2019 23:07:56 +0800 Subject: [PATCH] Updates --- version0.4/ebnf.cpp | 24 ++++++++++++++++++------ 1 file changed, 18 insertions(+), 6 deletions(-) diff --git a/version0.4/ebnf.cpp b/version0.4/ebnf.cpp index e1b8d3d..2e04ebf 100644 --- a/version0.4/ebnf.cpp +++ b/version0.4/ebnf.cpp @@ -27,24 +27,36 @@ <4> ::= <,> <,> -<5> ::= +<5> ::= + <:> | +<6> ::= + | <,> +<7> ::= <=> <;> - <=> <;> <=> <[><]> <;> <=> <{><}> <;> <=> <[> ||| <]> <;> <=> <{> <}> <;> -<6> ::= +<8> ::= <=> <;> -<7> ::= +<9> ::= <=> <(><)> <{><}> <=> <(> | <)> <{><}> <=> <(><)> <{> <}> <=> <(> | <)> <{> <}> -<8> ::= +<10> ::= + <...> +<11> ::= + <...> +<12> ::= <;> -<9> ::= + | <;> + <;> + <;> + + +<13> ::= |