libmawk 是 mawk 1.3.3 的分支版本,主要为嵌入式环境重新设计。允许你将 awk 解释器嵌入到任何 C 程序中,让应用支持插件、配置、运行控制和 AI 等特性。
It extends the original feature set of mawk with modularity (C-style include), save/load of compiled bytecode, function calling by name-in-string (substitute for pointers/references), and accounting and limiting of memory and CPU use. While awk as a language does not offer OOP and complex data structures, it is still reasonably powerful. A major advantage is the short learning curve for new users.