noyesno / awka

Revive awka - Awk to C Compiler
https://project.noyesno.net/awka/
99 stars 9 forks source link

Enhancement/more #12

Closed jlp765 closed 3 years ago

jlp765 commented 3 years ago

Benchmarking additions exit from MAIN fix to run END before exit fix FNR bug to keep its value after MAIN fix getline result in BEGIN Update and enable PROCINFO and add FUNCTAB fix sorting error for sorttype 4 add ability to sort values, not just keys add typeof() add isarray() Fix length() to handle arrays for Gawk compatibility add RE syntax style selecting and make default more compatible with Gawk add Python benchmarks et. al.

noyesno commented 3 years ago

Some test failed. Need further debugging.

jlp765 commented 3 years ago

Using RE_SYNTAX_POSIX_AWK for the eiso2 test which is very recursive causes a memory allocation error I think. Using the simpler syntaxes doesn't hit this problem. Quite a rabbit hole to get to the bottom of this one :-)