diff options
author | Elizabeth Hunt <elizabeth.hunt@simponic.xyz> | 2024-03-07 23:48:04 -0700 |
---|---|---|
committer | Elizabeth Hunt <elizabeth.hunt@simponic.xyz> | 2024-03-07 23:48:04 -0700 |
commit | 634b2c1b69b9cc107546b12e710fc2daec53fcec (patch) | |
tree | 27b3396a227ace81fea583c62fbb36458cb1eebe /src/interpreter/parser.ts | |
parent | ea6c1eef48ba8d39defdd8cd78adc45ae660caf9 (diff) | |
download | the-abstraction-engine-634b2c1b69b9cc107546b12e710fc2daec53fcec.tar.gz the-abstraction-engine-634b2c1b69b9cc107546b12e710fc2daec53fcec.zip |
minor bug fixes
Diffstat (limited to 'src/interpreter/parser.ts')
-rw-r--r-- | src/interpreter/parser.ts | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/interpreter/parser.ts b/src/interpreter/parser.ts index d288815..5e3be0f 100644 --- a/src/interpreter/parser.ts +++ b/src/interpreter/parser.ts @@ -30,10 +30,6 @@ export const isVariable = (term: LambdaTerm): term is Variable => { return typeof term === "string"; }; -export const parse = ( - term: string, - allowUnderscores = false, - library = false, -) => { - return peggyParser.parse(term, { peg$library: library }, allowUnderscores); +export const parse = (term: string, library = false) => { + return peggyParser.parse(term, { peg$library: library }); }; |