Commit Graph

10 Commits

Author SHA1 Message Date
82ce1d8be9 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
a7fafce265 Pull out opcode definitions into an X-macro file. 2015-03-28 09:56:07 -07:00
c707135b9a Add wren_meta to XCode project. 2015-03-25 19:25:18 -07:00
2dfec85506 Enable clang warning on suspicious implicit conversions. 2015-03-22 10:36:08 -07:00
f732ada5ea Fix unreachable code in REPL. 2015-03-22 10:27:38 -07:00
91a23da5b0 Move CLI script running to a separate file.
(This is set up to reuse this code for API tests.)
2015-03-16 07:42:45 -07:00
aedf9a8571 Move CLI file loading code to separate file. 2015-03-16 07:22:52 -07:00
92c17e81f6 Reorganize source files.
This makes it clear which files are part of the VM (i.e. the Wren library)
and which are part of the CLI. Makes a directory for the latter so it has
some room to grow.

This probably totally broke the VS project. If you can fix that, send me
a PR!
2015-03-14 15:00:50 -07:00
8ce58ec3c4 Reorganize files in XCode project. 2015-01-22 07:05:32 -08:00
b6443f0301 Move XCode project under project/. 2015-01-20 17:14:30 -08:00