Retoor software development Projects Research SearchXNG
Register Sign In

16 lines
229 B
C
Raw Normal View History

Adds a Meta library with an eval function for interpreting code inline.
2015-03-22 22:16:53 +01:00
#ifndef wren_meta_h
#define wren_meta_h
#include "wren_common.h"
Fix up Meta.eval(_). - Made it use primitives instead of foreign functions. - This fixed an issue where the interpreter loop was running re-entrantly. - Which in turn fixed a GC bug. - Report a runtime error if the argument isn't a string. - Report a runtime error if the source doesn't compile.
2015-04-04 06:22:58 +02:00
#include "wren.h"
Adds a Meta library with an eval function for interpreting code inline.
2015-03-22 22:16:53 +01:00
// This module defines the Meta class and its associated methods.
#if WREN_USE_LIB_META
void wrenLoadMetaLibrary(WrenVM* vm);
#endif
#endif
Reference in New Issue Copy Permalink
06a4e00f31
wren/src/vm/wren_meta.h
Response time: 168ms
Mail Licenses API