Replacing AWK with Python in GCC?
Replacing AWK with Python in GCC?
[Development] Posted Jul 25, 2018 17:45 UTC (Wed) by jake
GCC has a lot of command-line options—so many, in fact, that its build process does a fair amount of processing using AWK to generate the option-parsing code for the compiler. But some find the AWK code to be difficult to work with. A recent post to the GCC mailing list proposes replacing AWK with Python in the hopes of more maintainable option-parsing generation in the future.