[Home]
HomePage RecentChanges Frequently Asked Questions

libmawk

libmawk is a fork of mawk, designed for embedding in C programs. Compare and contrast with awka.

The following is from the project's homepage:

Libmawk has the following main features:

  • load and run multiple awk scripts independently, in parallel
  • scripts do not read stdin but a memory buffer the embedding process can fill from time to time
  • running scripts in (mostly) non-blocking manner - that is, the script will not block if the process can not provide new input
  • all these without threads or fork()
  • call awk functions from C, using vararg for smooth integration
  • call C functions from awk scripts
  • resolve existing awk variables from C - read or write variables
  • language extensions (both in the lib and executable version)
    • dynamic function calls (call functions by name using call() and acall())
    • dynamic variable value fetch (valueof() returns the value of a variable by name)
    • include "source.awk" allows an awk source to include another awk source

Since mawk is licensed under the GNU GPL v2 and libmawk is a fork of mawk, libmawk is licensed under the GNU GPL v2 too.


Edit this page View other revisions Administration
Last edited 2012年01月16日 09:07 UTC by lewellyn (diff)

Powered by sdf Creative Commons License <pierre.gaston+awk@gmail.com>

Awk Wiki by #awk is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.

AltStyle によって変換されたページ (->オリジナル) /