luk: lua config language.
Types: Table Luk
Functions
A luk table object
The luk loader.
Fields:
- .importedtable of ipath -> imported luk
- .importstable of ipath to its imports for dependency analysis.
- .pathFn =ds.idena function that given a non-relative import path
returns the path to the file to import.
- .envMeta =ds.load.ENV
- .cycleused to detect cycles
Methods
- fn:resolve(path, wd) -> /abs/path
Resolve the path into the abspath.
- fn:import(path, wd) -> lukMod?, ds.Error?
Recursively import the luk file at path.
Each luk file has a sandboxed global environment.