This commit is contained in:
Valk Richard Li 2019-08-23 18:11:13 +08:00 committed by GitHub
parent 0e7aceaf84
commit 3115b3973b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 12 additions and 0 deletions

12
version0.6/ebnf.cpp Normal file
View File

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