summaryrefslogtreecommitdiff
path: root/src/interpreter/interpreter.ts
diff options
context:
space:
mode:
authorElizabeth Hunt <elizabeth@simponic.xyz>2025-03-01 12:36:47 -0700
committerElizabeth Hunt <elizabeth@simponic.xyz>2025-03-01 12:36:47 -0700
commit8dacee8f73633131fd68935c1e2493dc4beec837 (patch)
treefc9adf76fce4761b01208ba2f44e72a6838244aa /src/interpreter/interpreter.ts
parentd903bd9a13e790cf42c84c3dc59bf89ffeae1d80 (diff)
downloadthe-abstraction-engine-8dacee8f73633131fd68935c1e2493dc4beec837.tar.gz
the-abstraction-engine-8dacee8f73633131fd68935c1e2493dc4beec837.zip
updates
Diffstat (limited to 'src/interpreter/interpreter.ts')
-rw-r--r--src/interpreter/interpreter.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/interpreter/interpreter.ts b/src/interpreter/interpreter.ts
index e90b8ce..65a848f 100644
--- a/src/interpreter/interpreter.ts
+++ b/src/interpreter/interpreter.ts
@@ -249,8 +249,8 @@ export const emitNamed = (term: DebrujinifiedLambdaTerm): string => {
export const interpret = (
term: string,
symbolTable = new SymbolTable(),
+ allowUnderscores = false, // in our world, underscores should be internal to the game.
maxDepth = 15,
- allowUnderscores = false
): DebrujinifiedLambdaTerm => {
const ast = parse(term, allowUnderscores);
const debrujined = debrujinify(ast, symbolTable);