This commit is contained in:
2017-09-03 22:57:21 +02:00
commit 52186de3a7
6 changed files with 71 additions and 0 deletions

5
src/parser.c Normal file
View File

@@ -0,0 +1,5 @@
#include "parser.h"
sc_ast* parse(char* input) {
return NULL;
}

12
src/parser.h Normal file
View File

@@ -0,0 +1,12 @@
#include <stdlib.h>
typedef struct sc_ast {
short tag;
char* value;
int n_children;
struct sc_ast** children;
} sc_ast;
sc_ast* parse(char*);