Download Latest Version v4.3.0 source code.zip (1.1 MB) Google Add to Preferred Sources
Home / v4.2.1
Name Modified Size InfoDownloads / Week
Parent folder
attestation.jsonl 2026-09-19 22.0 kB
sbom.spdx.json 2026-09-19 91.8 kB
LICENSE 2026-09-19 1.1 kB
README.md 2026-09-19 727 Bytes
v4.2.1 -- bash target_ functions, recursion, defaults source code.tar.gz 2026-09-19 1.1 MB
v4.2.1 -- bash target_ functions, recursion, defaults source code.zip 2026-09-19 1.2 MB
Totals: 6 Items   2.4 MB 0

Bash target is now full

def/fn compile to real bash functions:

  • positional params bound with local (recursion-safe — fact(6)720)
  • default params: def greet(name, suffix = "!")local suffix="${2:-!}"
  • return <expr>printf '%s\n' + return 0, captured via $( f args )
  • string concatenation (s + "!") renders as one double-quoted word — in expressions, return and print
  • bare calls to value-returning functions discard the result (> /dev/null), matching the Python target; compile-time warning when a function both prints and returns

Also fixes an f-string gotcha in the codegen (${i:-d} parsed as format spec).

379 tests. PyPI: pip install externum==4.2.1

Source: README.md, updated 2026-09-19