mmp.cli
Class mmp

java.lang.Object
  extended by mmp.cli.mmp

public final class mmp
extends java.lang.Object

mmp's command line interface.
This class provides a spartane command line interface for mmp.

It's not an objective of mmp to provide a sophisticated command line interface like GNU m4. The primary use case for mmp is the embedding of mmp in a Java application. The command line interface is just a helper to test mmp and to try out m4 files.

Author:
Burkhardt Renz

Method Summary
static void main(java.lang.String[] args)
          usage: mmp <filename>.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

main

public static void main(java.lang.String[] args)
                 throws java.io.IOException,
                        SyntaxErrorException,
                        RuntimeErrorException
usage: mmp <filename>.

Parameters:
args - the name of the file to be processed by mmp
Throws:
java.io.IOException - if io error
SyntaxErrorException - if syntax error in m4 file
RuntimeErrorException - if runtime error