initial
This commit is contained in:
5
src/parser.c
Normal file
5
src/parser.c
Normal file
@@ -0,0 +1,5 @@
|
||||
#include "parser.h"
|
||||
|
||||
sc_ast* parse(char* input) {
|
||||
return NULL;
|
||||
}
|
12
src/parser.h
Normal file
12
src/parser.h
Normal 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*);
|
Reference in New Issue
Block a user