diff options
Diffstat (limited to 'parser.h')
-rw-r--r-- | parser.h | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/parser.h b/parser.h new file mode 100644 index 0000000..1e7c0fd --- /dev/null +++ b/parser.h @@ -0,0 +1,25 @@ +#ifndef __PARSER_H__ +#define __PARSER_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 +}; + + +void parse_line(char *); + +#endif |