Adds a Meta library with an eval function for interpreting code inline.

This commit is contained in:
Gavin Schulz
2015-03-22 14:17:02 -07:00
parent f2c5c804a4
commit a937bd1cf9
7 changed files with 60 additions and 1 deletions
+7
View File
@@ -14,6 +14,10 @@
#include "wren_io.h"
#endif
#if WREN_USE_LIB_META
#include "wren_meta.h"
#endif
#if WREN_DEBUG_TRACE_MEMORY || WREN_DEBUG_TRACE_GC
#include <time.h>
#endif
@@ -75,6 +79,9 @@ WrenVM* wrenNewVM(WrenConfiguration* configuration)
#if WREN_USE_LIB_IO
wrenLoadIOLibrary(vm);
#endif
#if WREN_USE_LIB_META
wrenLoadMetaLibrary(vm);
#endif
return vm;
}