Add interpreter to libab.

This commit is contained in:
2018-04-24 11:35:27 -07:00
parent a86938b574
commit 46040531fb
2 changed files with 8 additions and 0 deletions

View File

@@ -5,6 +5,7 @@
#include "ht.h"
#include "lexer.h"
#include "parser.h"
#include "interpreter.h"
#include "result.h"
#include "table.h"
#include "number.h"
@@ -25,6 +26,11 @@ struct libab_s {
* tokens to a tree.
*/
libab_parser parser;
/**
* The interpreter used
* to run a tree.
*/
libab_interpreter intr;
/**
* The table used to store top-level
* things like functions and operators.