aboutsummaryrefslogtreecommitdiff
path: root/src/compile/comparisons.h
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2025-08-24 18:17:14 -0400
committerBruce Hill <bruce@bruce-hill.com>2025-08-24 18:17:14 -0400
commit6cc848bfde0cc6bd702019f81c1467e409f35487 (patch)
tree239b06f82b1009826ad3b60ae73b585c5c5e842c /src/compile/comparisons.h
parente56f4b447e785a7b0ad95d9f2c21e36e3d2bed2c (diff)
Move comparisons to their own file
Diffstat (limited to 'src/compile/comparisons.h')
-rw-r--r--src/compile/comparisons.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/compile/comparisons.h b/src/compile/comparisons.h
new file mode 100644
index 00000000..105387d5
--- /dev/null
+++ b/src/compile/comparisons.h
@@ -0,0 +1,8 @@
+// This file defines how to compile comparisons
+#pragma once
+
+#include "../ast.h"
+#include "../environment.h"
+#include "../stdlib/datatypes.h"
+
+Text_t compile_comparison(env_t *env, ast_t *ast);