Conata: m4
Back
Download
Introduction
This is an implementation of UNIX m4 macro processor by Nina.
The target language is C# and this .NET framework and mono.
Built-in macros shown as follows are supported in this m4.
- define
- undefine
- pushdef
- popdef
- defn
- ifdef
- ifelse
- shift
- dnl
- divert
- undivert
- changequote
- changecom
- incr/decr
- eval
- len
- substr
- translit
- index
- errprint
Supported command line option is only -D option.
codes
This implementation consists of the sources shown as follows.
- m4p.nina: a m4 evaluator
- m4e.nina: a evaluator of 'eval' macro
- m4.cs: the body of this m4 implementation