Commit Graph

7 Commits

Author SHA1 Message Date
underscorediscovery
9f1121ab2f 0.3.0: remove vm tests 2020-02-11 20:16:03 -08:00
Bob Nystrom
64eccdd9be Reorganize tests and benchmark scripts.
Mainly to get rid of one top level directory. But this will
also be useful when there are tests of the embedding API.
2015-03-14 12:45:56 -07:00
Bob Nystrom
b2ca4c0381 Allow zero or multiple imported names. 2015-02-17 07:32:33 -08:00
Bob Nystrom
a44d479643 Basic import syntax. 2015-02-14 16:46:00 -08:00
Bob Nystrom
bc5a793c41 Split out the core and main modules.
- Implicitly import everything in core into every imported module.
- Test cyclic imports.
2015-02-11 10:06:45 -08:00
Bob Nystrom
2005e1e0a2 Add ".wren" to modules in the embedder. 2015-02-06 11:52:05 -08:00
Bob Nystrom
bb647d4247 Start getting module loading working.
Right now, it uses a weird "import_" method on String which
should either be replaced or at least hidden behind some syntax.

But it does roughly the right thing. Still lots of corner cases to
clean up and stuff to fix. In particular:

- Need to handle compilation errors in imported modules.
- Need to implicitly import all core and IO types into imported module.
- Need to handle circular imports.
  (Just need to give entry module the right name for this to work.)
2015-02-06 07:01:15 -08:00