Retoor software development Projects Research SearchXNG
Register Sign In

16 lines
231 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.
Move Meta to a separate module. Also cleaned up some of the code around loading the core module.
2015-10-16 03:08:56 +02:00
#if WREN_USE_META_MODULE
Adds a Meta library with an eval function for interpreting code inline.
2015-03-22 22:16:53 +01:00
Move Meta to a separate module. Also cleaned up some of the code around loading the core module.
2015-10-16 03:08:56 +02:00
void wrenLoadMetaModule(WrenVM* vm);
Adds a Meta library with an eval function for interpreting code inline.
2015-03-22 22:16:53 +01:00
#endif
#endif
Reference in New Issue Copy Permalink
d5b9f0096c
wren/src/vm/wren_meta.h
Response time: 92ms
Mail Licenses API