blob: 9e07921e70b47218caebeb6a7af74c2dc7d63032 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
#include <stdio.h>
#include <string.h>
#define MAXARGS 8
#define MAXFUNCS 2048
#define MAXVARS 8192
int getBuiltIn(char *func, ast_node *node); // checks if a function is built in to zippy
void expressFunction(char *function, ast_node *node); // puts a string into the ast_node struct
ast_node *tokenize(char *input); // does the tokenization
void printAst(ast_node *root); // shows an ast and its sub nodes
void freeAst(ast_node *head); // frees most of the ast;
|