• Roman Alifanov's avatar
    Add map/filter, @validate, file handles, and with statement · 5785e16d
    Roman Alifanov authored
    New features:
    - .map() / .filter() for arrays with lambda support
    - @validate decorator for argument validation
    - fs.open() / f.read() / f.write() / f.close() file handles
    - with X in Y { } context manager for auto-closing resources
    
    All features work in both Bash and @awk codegen.
    Added 18 new pytest tests for the new functionality.
    Updated documentation (LANGUAGE_SPEC.md, README.md, README_ru.md).
    5785e16d
awk_codegen.py 27.5 KB