• Roman Alifanov's avatar
    Add plugin system: runtime loading of namespace libraries · 08862c2c
    Roman Alifanov authored
    - New stdlib module `plugin` with 7 methods: load_dir, load, list, has, call, each, each_if
    - Plugins are namespaces compiled via build-lib, loaded at runtime via source
    - Dynamic dispatch: plugin.call(name, func) -> ${name}__${func}
    - Empty function bodies now emit `:` (bash no-op) instead of invalid empty block
    - 21 new tests in test_plugin.py
    08862c2c
Name
Last commit
Last update
..
__init__.py Loading commit data...
awk.py Loading commit data...
backend.py Loading commit data...
classes.py Loading commit data...
constants.py Loading commit data...
expr.py Loading commit data...
stdlib.py Loading commit data...
stmt.py Loading commit data...