diff options
Diffstat (limited to 'include/parser.h')
| -rw-r--r-- | include/parser.h | 24 | 
1 files changed, 24 insertions, 0 deletions
| diff --git a/include/parser.h b/include/parser.h new file mode 100644 index 0000000..30d626c --- /dev/null +++ b/include/parser.h @@ -0,0 +1,24 @@ +#ifndef __PARSER_H__ +#define __PARSER_H__ + +#define PILEOP_MAX 50 +#define PILECALL_MAX 50 + +enum { +  OP_NEST, +  OP_PLUS, +  OP_MOINS, +  OP_PLUS_UNARY, +  OP_MOINS_UNARY, +  OP_DIV, +  OP_MUL, +  OP_LPAREN, +  OP_FUNC_CALL, +  OP_DECAL, +  OP_DIRECT +}; + +void push_pile(char *); +void act_pile(int); + +#endif
\ No newline at end of file | 
