This website requires JavaScript.
Explore
Mail
Help
Register
Sign In
Mirror
/
wren
Watch
1
Star
0
Fork
1
You've already forked wren
mirror of
https://github.com/wren-lang/wren.git
synced
2026-01-11 06:08:41 +01:00
Code
Issues
Packages
Projects
Releases
Wiki
Activity
Files
99d2f0b8fc2686134b32b18166e037639f7e9f2c
wren
/
test
/
meta
/
eval_compile_error.wren
4 lines
96 B
Plaintext
Raw
Normal View
History
Unescape
Escape
Move Meta to a separate module. Also cleaned up some of the code around loading the core module.
2015-10-15 18:08:56 -07:00
import "meta" for Meta
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-03 21:22:58 -07:00
Meta.eval("!!") // expect runtime error: Could not compile source code.
Reference in New Issue
Copy Permalink