The Malaga programs are all started in a similar manner: either you give
the name of a project file as argument (this is not possible if
you start malrul
or malsym
), or you give the name of the
files that are needed by the program (for malmake
and
malaga
, you have to give the project file as argument). The file
type is recognised by the file name ending.
Assume you've written a grammar that consists of a symbol file
english.sym
, an allomorph rule file english.all
, a lexicon
file english.lex
and a morphology rule file english.mor
,
and you have also written a project file english.pro
. You first
have to create binary files from these files:
malmake english.pro
The binary files have the same name as their source counterparts, but have a
_l
(for little endian processors like x86), a _b
(for big endian processors like HPPA) or a _c
(for other architectures)
appended. Now you can start the program malaga
by entering
the following command line: malaga english.pro
.
The names of the grammar files will be read from the project file.
If you want to know about the command line arguments of a Malaga
program, you can get help by using the option -help
or
-h
, like mallex -help
If you just want to know which version of a Malaga program you are using, you
can get the version number by using the option -version
or
-v
, like malrul -version
The program just emits a few lines with information about its version number and about using and copying it.