Replacing AWK with Python in GCC?
Replacing AWK with Python in GCC?
Posted Jul 25, 2018 21:39 UTC (Wed) by xorbe (guest, #3165)In reply to: Replacing AWK with Python in GCC? by nirbheek
Parent article: Replacing AWK with Python in GCC?
Posted Jul 25, 2018 23:13 UTC (Wed)
by jhoblitt (subscriber, #77733)
[Link] (2 responses)
Posted Jul 26, 2018 4:26 UTC (Thu)
by marcH (subscriber, #57642)
[Link] (1 responses)
Plus "light-weight" is intuitively not one of the top requirements when gcc is concerned... is it?
Now compared to awk (as opposed to Python) I suspect lua would win on practically every possible metric :-)
Posted Jul 26, 2018 6:52 UTC (Thu)
by eru (subscriber, #2753)
[Link]
On the other hand, Lua is very readable and easy to learn. Rather like Python in that respect.
Plus "light-weight" is intuitively not one of the top requirements when gcc is concerned... is it?
Its implementation is so small that you could include it with GCC sources without growing them with any significant percentage!
Replacing AWK with Python in GCC?
Lua
much smaller community/number of people understanding it and generally smaller "ecosystem" of tools like debuggers, editors,.
Lua