diff options
author | Marvin Borner | 2022-12-13 15:43:39 +0100 |
---|---|---|
committer | Marvin Borner | 2022-12-13 15:44:59 +0100 |
commit | 2eecfca85b2b703318e57fcce33c864757b79c00 (patch) | |
tree | 5386231745ddb9b5d24281a889ef28dfa84f0b29 /src/main.c |
Basic parsing
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c new file mode 100644 index 0000000..431d8a5 --- /dev/null +++ b/src/main.c @@ -0,0 +1,11 @@ +#include <stdio.h> +#include <parse.h> +#include <term.h> + +int main(void) +{ + struct term *term = parse("([[((0 1) [(1 0)])]] [0])"); + print_term(term); + free_term(term); + return 0; +} |