Archived
1
0
Fork 0

Revert "Added mpc parser"

This reverts commit 794ff166db.
This commit is contained in:
Brandon Rozek 2018-06-03 12:49:13 -04:00
parent 794ff166db
commit 79744f3f3a
2 changed files with 1 additions and 3960 deletions

3959
mpc.c

File diff suppressed because it is too large Load diff

View file

@ -70,7 +70,7 @@ int main (int argc, char** argv) {
// Define them with the following language
mpca_lang(MPCA_LANG_DEFAULT,
"\
number : /-?[0-9]+\.?[0-9]*/; \
number : /-?[0-9]+/; \
operator : '+' | '-' | '*' | '/' | '%' \
| '^' | \"min\" | \"max\"; \
expr : <number> | '(' <operator> <expr>+ ')'; \