summaryrefslogtreecommitdiff
path: root/src/engine/components/LambdaTerm.ts
diff options
context:
space:
mode:
authorElizabeth Hunt <elizabeth.hunt@simponic.xyz>2024-03-05 22:00:04 -0700
committerElizabeth Hunt <elizabeth.hunt@simponic.xyz>2024-03-05 22:00:04 -0700
commitce06fa7c29ba4e3d6137f7aa74fbfe45af0e8b73 (patch)
treeef17306b0fe5f2f957d9c37638a6af76236c7881 /src/engine/components/LambdaTerm.ts
parent110fe21a2340365b7b7cb72f6f44ad13ed39f4ea (diff)
downloadthe-abstraction-engine-ce06fa7c29ba4e3d6137f7aa74fbfe45af0e8b73.tar.gz
the-abstraction-engine-ce06fa7c29ba4e3d6137f7aa74fbfe45af0e8b73.zip
refactor spawners
Diffstat (limited to 'src/engine/components/LambdaTerm.ts')
-rw-r--r--src/engine/components/LambdaTerm.ts11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/engine/components/LambdaTerm.ts b/src/engine/components/LambdaTerm.ts
new file mode 100644
index 0000000..63e9889
--- /dev/null
+++ b/src/engine/components/LambdaTerm.ts
@@ -0,0 +1,11 @@
+import { Component, ComponentNames } from ".";
+
+export class LambdaTerm extends Component {
+ public code: string;
+
+ constructor(code: string) {
+ super(ComponentNames.LambdaTerm);
+
+ this.code = code;
+ }
+}