prog2mif
Section: User Commands (1)
Index
Return to Main Contents
NAME
prog2mif - Process source files for insertion in FrameMaker
SYNOPSIS
prog2mif [options] [filename]
DESCRIPTION
prog2mif reads a file containing source code and produces
a MIF file suitable for insertion (import) in FrameMaker.
If the filename has a pre-defined extention, all reserved keywords
of the language associated with that filename extension are highlighted.
The list of known extension and associated languages are:
c, h C program
C, H, cxx, hxx, cpp, hpp C++ program
m Objective C program
ada, a ADA program
vhdl, vhd VHDL source
pl, perl PERL source
OPTIONS
- -h
-
Print a short usage message.
- -l
-
Do not select reserved keywords based on the filename extension.
Use reserved keywords for the specified language instead.
If the specified language is not known, a list of all known language
is printed.
This option is required when processing from stdin.
WISHLIST
- o
-
Have a user-specified configuration to easily add new languages and
filename extensions.
- o
-
Handling of start/end and multi-line comments (a la /*.. */)
- o
-
Handling of quoted text
BUGS
Reserved keywords are highlighted inside C-style comments,
pre-processor directives and strings.
AUTHOR
Janick Bergeron, BNR, Ottawa, Canada (janick@bnr.ca)
Based on prog2mif.c written by:
Hermann Kneissel, DANET-IS (kneissel@danetis.UUCP)
Index
- NAME
-
- SYNOPSIS
-
- DESCRIPTION
-
- OPTIONS
-
- WISHLIST
-
- BUGS
-
- AUTHOR
-
This document was created by
man2html,
using the manual pages.
Time: 23:34:46 GMT, September 27, 2019