Tiny Core Linux
Off-Topic => Off-Topic - Tiny Core Lounge => Topic started by: mocore on October 18, 2023, 02:47:49 PM
-
just discovered ... now wandering if any tc'ers
know of / use or have used cppawk
https://www.kylheku.com/cgit/cppawk/about/
cppawk is a tiny shell script that is used like awk. It invokes the C preprocessor (GNU cpp) on the Awk code and calls Awk on the result.
-
another awk pre-processor is aok @ ttv1/aok ~ https://github.com/ttv1/aok/
which is written in awk 8)
AOK is a pre-processor to AWK code that adds:
Abstract data types;
Easy methods to list the attributes and operations of that data;
Object constructors;
Nested object constructors.
Multi-line quotes
A dot notation for easy reference to nested structures.
the repo also includes some examples/tests and documentation
and some awk tips https://github.com/ttv1/aok/blob/master/docs/codingtips.md