Retoor software development Projects Research SearchXNG
Register Sign In

6 lines
149 B
JavaScript
Raw Normal View History

feat: add logical import support with wren_modules directory resolution and path type classification Introduce a path type classification system (absolute, relative, simple) to distinguish logical imports from relative ones. Implement automatic discovery of a "wren_modules" directory by walking up from the root directory. Refactor the CLI to return interpret results and exit codes instead of exiting directly. Extract cross-platform stat macros into a shared header. Update test API calls to use explicit relative paths.
2018-07-16 05:09:41 +02:00
// Import a module whose name is the same as the package.
import "foo" for Module
// expect: ran module
System.print(Module) // expect: from module
Reference in New Issue Copy Permalink
eadfc8e9cb
wren/test/module/logical_short/logical_short.wren
Response time: 66ms
Mail Licenses API