aboutsummaryrefslogtreecommitdiff
path: root/include/kpl/operator.h
diff options
context:
space:
mode:
authornodist <kevin.comas.git@gmail.com>2026-11-11 14:05:59 -0500
committernodist <kevin.comas.git@gmail.com>2026-11-11 14:05:59 -0500
commit75c8828d804f45cf8f44af73bfe87e0f3eaf9a9e (patch)
tree2fdf51906d2517bbe8c928fc52f95bb2e0dda4f9 /include/kpl/operator.h
parent7b9204a8680539bc4795a14f3d9a34e47981d0c3 (diff)
run a task test
Diffstat (limited to 'include/kpl/operator.h')
-rw-r--r--include/kpl/operator.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/include/kpl/operator.h b/include/kpl/operator.h
new file mode 100644
index 0000000..7912ff7
--- /dev/null
+++ b/include/kpl/operator.h
@@ -0,0 +1,13 @@
+/*
+ * KPL Operator names
+ * AST and IR use same enum
+ */
+
+#pragma once
+
+/*
+ * Limited to 12 bits for AST, 0 is invalid
+ */
+typedef enum : uint16_t {
+ KPL_OPERATOR_NAME_INVALID,
+} kpl_operator_name;