PLASM compiler
David Schmenk edited this page Jan 16, 2020
·
1 revision
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.