Files
Nasal-Interpreter/version0.6/ebnf.cpp
Valk Richard Li 3115b3973b ebnf
2019-08-23 18:11:13 +08:00

13 lines
361 B
C++

<identifier> ::= IDENTIFIER
<number> ::= NUMBER
<string> ::= STRING
<null_list> ::= <[><]>
<null_hash> ::= <{><}>
call_func ::= <identifier> <(> <...> <)>
<list> ::= <[> <...> <]>
<hash> ::= <{> <...> <}>
<definition> ::= <var> <identifier> <=> <...> <;>
<assignment> ::= <identifier> <=> <...> <;>
<function> ::= <func><(> <...> <)> <{> <...> <}>