WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: cppawk  (Read 930 times)

Offline mocore

  • Hero Member
  • *****
  • Posts: 659
  • ~.~
cppawk
« 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/
Quote
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.

Offline mocore

  • Hero Member
  • *****
  • Posts: 659
  • ~.~
Re: awk pre-processor
« Reply #1 on: January 19, 2024, 07:31:06 AM »
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

« Last Edit: January 19, 2024, 07:37:25 AM by mocore »