feat: add Meta class with eval method and WREN_USE_LIB_META flag
Introduce a new Meta built-in class exposing a static eval(_) method for runtime code interpretation, guarded by the WREN_USE_LIB_META compile-time flag (default on). Include the meta.wren source, C implementation files, header, VM integration in wrenNewVM, test runner update to include the meta test directory, and an initial test for evaluating code that modifies an existing scoped variable.
This commit is contained in:
+1
-1
@@ -243,7 +243,7 @@ def run_test(path):
|
||||
print('')
|
||||
|
||||
|
||||
for dir in ['core', 'io', 'language', 'limit']:
|
||||
for dir in ['core', 'io', 'language', 'limit', 'meta']:
|
||||
walk(join(WREN_DIR, 'test', dir), run_test)
|
||||
|
||||
print_line()
|
||||
|
||||
Reference in New Issue
Block a user