This release includes a performance improvement and several bug fixes:
- Only convert numeric string values to number lazily when needed: this gives an 11% average improvement on the real-world benchmarks, and around 40% improvement on my countwords script
- Support ENVIRON special array
- Show parse errors in a simpler, more standard format
- Fix ARGV numeric string handling
- Fix FILENAME numeric string handling
- Fix field numeric string handling: this brings a slight performance decrease, but thankfully the lazy numeric string improvement above more than makes up for it
- Fix parsing of string concatenation with prefix ++ and --
- Fix output synchronization by flushing appropriately
This release also adds the AWKGo AWK-to-Go compiler as described here, but it's a separate executable that doesn't change GoAWK itself at all. Read more about AWKGo.