Re:Show HN: Awk-JVM – A toy JVM in Awk
by mzs on Tuesday June 23, 2020 @01:52PM
(#23617594)
Nice project! It's only very old awks that don't support functions (like BSD awk does and nawk does on SunOS but /usr/bin/awk doesn't) and the GNU docs have an implementation of strtonum: https://www.gnu.org/software/gawk/manual/html_node/Strtonum-...
[ Parent
| on HN ]
POSIX awk supports user-defined functions. I'm surprised Solaris' default awk doesn't, but /usr/xpg4/bin/awk does support user-defined functions. (I just confirmed both behaviors on Solaris 11.4.)