From 785be358019ce650fccaacec25cd3edd5f33916a Mon Sep 17 00:00:00 2001 From: Valk Richard Li <48872266+ValKmjolnir@users.noreply.github.com> Date: Fri, 27 Sep 2019 22:39:32 +0800 Subject: [PATCH] Delete ebnf.cpp --- version0.3/ebnf.cpp | 91 --------------------------------------------- 1 file changed, 91 deletions(-) delete mode 100644 version0.3/ebnf.cpp diff --git a/version0.3/ebnf.cpp b/version0.3/ebnf.cpp deleted file mode 100644 index 371d569..0000000 --- a/version0.3/ebnf.cpp +++ /dev/null @@ -1,91 +0,0 @@ -/* -<>术语符号 -|并列选项,只能选一个 -*/ - -//basic elements - ::= IDENTIFIER - ::= NUMBER - ::= STRING - -//scalar - ::= || - ::= <,> - ::= <,> - ::= |||| - ::= <,> - ::= <,> - -//array - ::= <[> <]> - ::= <[> ||| <]> - -//hash - ::= <.> | - ::= <:> || - ::= <,> - ::= <,> - ::= <{> | <}> - -//function - ::= <(> | <)> <{> | <}> - ::= <(> ||| <)> - -//definition & assignment - ::= <=> || <;> - ::= <=>|<+=>|<-=>|<*=>||<~=> | <;> - -//calculation - ::= | <+> | - ::= | <-> | - ::= | <*> | -
::= | | - ::= | <~> | - ::= |||
- ::= <(> | <)> - ::= <+>|<->|<*>||<~> - ::= <+>|<->|<*>||<~> - ::= <+>|<->|<*>||<~> - -//loop - ::= | <;> | <;> | - ::= <(> <)> |<{> | <}> - ::= <(> | <)> |<{> | <}> - -//if else - ::= || - ::= <==>|<>>|<<>|<<=>|<>=>|| - ::= | - ::= | | - ::= <(> <)> <(> <)> - ::= <(> <)> <(> <)> - ::= <(> <)> <(> <)> - ::= <(> <)> - ::= <(> <)> -//(e==1) && (e==2) -//((e==1) && (e==2)) && (e==3) -//(e==1) && ((e==2) && (e==3)) -//(e==1) && (e==2) && (e==3) && ((e==4) && (e==5)) -<_if> ::= <(> | <)> -<_if> ::= <(> | <)> <{> | <}> -<_else> ::= -<_else> ::= <{> | <}> - ::= <(> | <)> - ::= <(> | <)> <{> | <}> - ::= - ::= - ::= <_if> - ::= <_if> <_else> - ::= <_if> - ::= <_if> - ::= <_if> <_else> - ::= <_if> <_else> - -//statement - ::= | <;> - ::= <;> - ::= <;> - ::= <(> ||| <)> <;> - ::= |||||||| - ::= - ::=