From f4ad269f8b9f9b0bfcc60bb2584316c3fdd10d10 Mon Sep 17 00:00:00 2001 From: Elizabeth Hunt Date: Mon, 4 Mar 2024 13:47:27 -0700 Subject: add interpreter --- src/engine/TheAbstractionEngine.ts | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'src/engine/TheAbstractionEngine.ts') diff --git a/src/engine/TheAbstractionEngine.ts b/src/engine/TheAbstractionEngine.ts index 9ea5b90..30c3422 100644 --- a/src/engine/TheAbstractionEngine.ts +++ b/src/engine/TheAbstractionEngine.ts @@ -55,15 +55,10 @@ export class TheAbstractionEngine { const player = new Player(); this.game.addEntity(player); - const box = new FunctionBox({ x: 3, y: 1 }, "λ x . (x)"); - this.game.addEntity(box); - const box2 = new FunctionBox({ x: 4, y: 1 }, "λ x . (x)"); - this.game.addEntity(box2); - const wall = new Wall({ x: 5, y: 3 }); this.game.addEntity(wall); - const factory = new LambdaFactory({ x: 6, y: 6 }, "λ x . (x)", 10); + const factory = new LambdaFactory({ x: 6, y: 6 }, "(λ (x) . x)", 10); this.game.addEntity(factory); const lockedDoor = new LockedDoor({ x: 8, y: 8 }); -- cgit v1.2.3-70-g09d2