Retoor software development Projects Research SearchXNG
Register Sign In

4 lines
52 B
Plaintext
Raw Normal View History

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 16:01:15 +01:00
// nontest
IO.print("shared")
var Shared = "shared"
Reference in New Issue Copy Permalink
3fd63eb2a5
wren/test/language/module/shared_import/shared.wren
Response time: 108ms
Mail Licenses API