feat: more scaffolding for functions!
This commit is contained in:
parent
c43aeac8c0
commit
c145c862f9
|
@ -995,7 +995,7 @@ int main(int argc, char** argv)
|
||||||
/* Define them with the following Language */
|
/* Define them with the following Language */
|
||||||
mpca_lang(MPCA_LANG_DEFAULT, " \
|
mpca_lang(MPCA_LANG_DEFAULT, " \
|
||||||
number : /-?[0-9]+\\.?([0-9]+)?/ ; \
|
number : /-?[0-9]+\\.?([0-9]+)?/ ; \
|
||||||
symbol : /[a-zA-Z0-9_+\\-*\\/\\\\=<>!&]+/ ; \
|
symbol : /[a-zA-Z0-9_+\\-*\\/\\\\=<>!&@]+/ ; \
|
||||||
sexpr : '(' <expr>* ')' ; \
|
sexpr : '(' <expr>* ')' ; \
|
||||||
qexpr : '{' <expr>* '}' ; \
|
qexpr : '{' <expr>* '}' ; \
|
||||||
expr : <number> | <symbol> | <sexpr> | <qexpr>; \
|
expr : <number> | <symbol> | <sexpr> | <qexpr>; \
|
||||||
|
|
Loading…
Reference in New Issue
Block a user