@ai-ecoverse/wasm-gawk
GNU awk for slicc.
pnpm add -g @ai-ecoverse/wasm-gawk
Not built: extensions and -M (homescoop#681)
gawk is configured with --disable-extensions --disable-mpfr, so none of the bundled extensions load:
gawk -i inplace …fails withgawk: fatal: cannot open source file `inplace' for reading(rc 2), and the file is left alone. Instead, usegawk '…' f > f.new && mv f.new f, orsed -i.-l filefuncs,@load "ordchr"and the other extensions (readdir,time,fork, …) fail withcannot open shared library.-Mprintsgawk: warning: -M ignored: MPFR/GMP support not compiled inand computes in double precision.
cert/extensions.mjs pins these messages and the workaround.