From d74523d15d37a1809a797beda962c957fba181b2 Mon Sep 17 00:00:00 2001 From: Elizabeth Hunt Date: Mon, 4 Mar 2024 16:31:27 -0700 Subject: checkpoint --- src/interpreter/parser.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/interpreter/parser.ts') diff --git a/src/interpreter/parser.ts b/src/interpreter/parser.ts index ea07796..5e3be0f 100644 --- a/src/interpreter/parser.ts +++ b/src/interpreter/parser.ts @@ -30,6 +30,6 @@ export const isVariable = (term: LambdaTerm): term is Variable => { return typeof term === "string"; }; -export const parse = (term: string) => { - return peggyParser.parse(term, { library: true }); +export const parse = (term: string, library = false) => { + return peggyParser.parse(term, { peg$library: library }); }; -- cgit v1.2.3-70-g09d2