1
0
mirror of https://github.com/dschmenk/PLASMA.git synced 2024-12-22 02:31:12 +00:00
1 PLASM compiler
David Schmenk edited this page 2020-01-15 19:22:01 -08:00

The PLASMA compiler, PLASM, takes a text file (probably created with ED) and converts it into a PLASMA module, ready to run. To run the compiler:

+PLASM [-[W][O[2]][N]] <src> [out]

The options are:

    -W  = Warnings
    -O  = Basic Optimizations
    -O2 = Advanced Optimizations
    -N  = Disable Combine Optimizations

    <src> = source filename

    [out] = output filename
'''
If the optional output filename isn't included, the output filename will be the name of the source file, minus the  extension (or ```A.OUT``` if no extension found).

Any errors reported will include a line number, useful for including on the command line when opening the source file in the Editor.