.TH M3MODGEN 1 "Apr 7 1992" .UC 4 .SH NAME m3modgen \- Modula-3 module generator .SH SYNOPSIS .B m3modgen .so ../../m3tk-toolframe.2.2/src/m3help_a.1 .so ../../m3tk-toolframe.2.2/src/m3dpath_a.1 .br .so ../../m3tk-fe.2.2/src/m3cfe_a.1 .br .so ../../m3tk-toolframe.2.2/src/m3astc_a.1 .br .so ../../m3tk-target.2/src/m3cbe_a.1 .br [ .B \-OverWrite ] .SH DESCRIPTION \fIm3modgen\fP generates a module from an existing interface. It handles generics as well as normal interfaces. The module contains the same \fBIMPORT\fP statements as the interface and for each procedure declaration in the interface, the module contains a procedure with an empty body. .PP After the units are parsed, the AST is transformed and written as source text to a file with the appropriate extension, in the current working directory. .PP Unless otherwise stated all diagnostic or informative output is written to the standard error stream. .SH OPTIONS .so ../../m3tk-toolframe.2.2/src/m3help.1 .so ../../m3tk-fe.2.2/src/m3cfe.1 .so ../../m3tk-toolframe.2.2/src/m3dpath.1 .so ../../m3tk-toolframe.2.2/src/m3astc.1 .so ../../m3tk-target.2/src/m3cbe.1 Capitalisation indicates the alternate short form of an option keyword. .SH "MODULE GENERATOR TOOL OPTIONS" .TP .B \-OverWrite If this option is set any existing file is overwritten; otherwise an error is generated. .SH FILES .PD 0 .TP 1.25i .I file.i3, file.ig Modula-3 source interface .TP .I file.m3, file.mg Modula-3 source module .PD .SH AUTHOR Mick Jordan .SH BUGS .SH COPYRIGHT .nf .na Copyright (C) Olivetti 1989 All Rights reserved Use and copy of this software and preparation of derivative works based upon this software are permitted to any person, provided this same copyright notice and the following Olivetti warranty disclaimer are included in any copy of the software or any modification thereof or derivative work therefrom made by any person. This software is made available AS IS and Olivetti disclaims all warranties with respect to this software, whether expressed or implied under any law, including all implied warranties of merchantibility and fitness for any purpose. In no event shall Olivetti be liable for any damages whatsoever resulting from loss of use, data or profits or otherwise arising out of or in connection with the use or performance of this software. Copyright (C) 1990 Digital Equipment Corporation All Rights reserved See the file COPYRIGHT for details