summaryrefslogtreecommitdiff
path: root/interface.h
diff options
context:
space:
mode:
Diffstat (limited to 'interface.h')
-rw-r--r--interface.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/interface.h b/interface.h
new file mode 100644
index 0000000..546eddd
--- /dev/null
+++ b/interface.h
@@ -0,0 +1,22 @@
+#ifndef __INTERFACE_H__
+#define __INTERFACE_H__
+
+#define PILEOP_MAX 50
+#define PILECALL_MAX 50
+
+enum {
+ OP_NEST,
+ OP_PLUS,
+ OP_MOINS,
+ OP_EXP,
+ OP_PLUS_UNARY,
+ OP_MOINS_UNARY,
+ OP_DIV,
+ OP_MOD,
+ OP_MUL,
+ OP_ASSIGN,
+ OP_LPAREN,
+ OP_FUNC_CALL
+};
+
+#endif