diff options
Diffstat (limited to 'cccl.c')
| -rw-r--r-- | cccl.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/cccl.c b/cccl.c index eedea7c..64da3b1 100644 --- a/cccl.c +++ b/cccl.c @@ -11,5 +11,9 @@ void cccl(struct cccl_File file) size_t tokens_amount = cccl_tokenize(file.buffer, file.size, tokens, TOKENS_LIMIT); if (verbose) fprintf(stderr, "Read: %lu\n", tokens_amount); + struct cccl_Node *parsed = cccl_parse(tokens, tokens_amount, 0, 0); + + struct cccl_Variables scope; + cccl_execute(parsed, &scope); } |