updated vector to video version, will probably break a lot
This commit is contained in:
parent
c1e60a6d2f
commit
93dc0fa053
12 changed files with 461 additions and 97 deletions
48
temp.txt
Normal file
48
temp.txt
Normal file
|
|
@ -0,0 +1,48 @@
|
|||
<configLanguage> -> <configLanguageBody> EOF
|
||||
|
||||
<configLanguageBody> -> <configPreDefines> <configComment> <configGroup> <configFunction> <configFunctionCall> <configVariableLine> <configLanguageBody> | LAMBDA
|
||||
<configPreDefines> -> <preDefines> | LAMBDA
|
||||
<configComment> -> <comment> | LAMBDA
|
||||
<configGroup> -> <group> | LAMBDA
|
||||
<configFunction> -> <function> | LAMBDA
|
||||
<configFunctionCall> -> <functionCall> | LAMBDA
|
||||
<configVariableLine> -> <variableLine> | LAMBDA
|
||||
|
||||
<preDefines> -> HASH <preDefineRule>
|
||||
<preDefineRule> -> <preDefineInclude> | <preDefineExclude>
|
||||
|
||||
<comment> -> <commentSingleLine> | <commentMultiLine>
|
||||
<commentSingleLine> -> SLASH SLASH <commentContents> | NEWLINE
|
||||
<commentMultiLine> -> SLASH ASTERISK <commentContents> ASTERISK SLASH
|
||||
<commentContents> -> STRING <commentContents> | LAMBDA
|
||||
|
||||
<group> -> <groupName> LEFT_CURLY_BRACE <configLanguage> RIGHT_CURLY_BRACE
|
||||
<groupRef> -> <parameter> COLON COLON <parameter>
|
||||
|
||||
<function> -> <parameter> LEFT_PAREN <parameterList> RIGHT_PAREN LEFT_CURLY_BRACE <configLanguage> RIGHT_CURLY_BRACE
|
||||
<parameterList> -> <type> <parameter> <parameterListItem> | LAMBDA
|
||||
<parameterListItem> -> COMMA <type> <parameter> <parameterListItem> | LAMBDA
|
||||
|
||||
<variableLine> -> <variableCreate> <variable> EQUALS <variableData> SEMICOLON
|
||||
<variableCreate> -> <type> | LAMBDA
|
||||
<variableData> -> <equation> | <variableOption>
|
||||
<equation> -> <equationFormula> | <encapsulation>
|
||||
<equationFormula> -> <equationData> SYMBOL <equationData>
|
||||
<equationData> -> LEFT_PAREN <equation> RIGHT_PAREN | <data>
|
||||
<variableOption> -> <data> | <dataList>
|
||||
<data> -> <variable> | <value>
|
||||
<dataList> -> LEFT_CURLY_BRACE <variableData> <dataListItem> RIGHT_CURLY_BRACE SEMICOLON
|
||||
<dataListItem> -> COMMA <variableData> <dataListItem> | LAMBDA
|
||||
|
||||
<functionCall> -> <functionName> LEFT_PAREN <valueList> <RIGHT_PAREN> SEMICOLON
|
||||
<valueList> -> <value> <valueListItem>
|
||||
<valueListItem> -> COMMA <value> <valueListItem>
|
||||
|
||||
<groupName> -> <variable>
|
||||
<functionName> -> <variable>
|
||||
<type> -> <variable>
|
||||
|
||||
<value> -> <variable> | NUM
|
||||
<variable> -> CHAR <variableName>
|
||||
<variableName> -> <charOrNum> <variableName> | LAMBDA
|
||||
<charOrNum> -> CHAR | NUM
|
||||
Loading…
Add table
Add a link
Reference in a new issue