mirror of
https://github.com/dschmenk/PLASMA.git
synced 2024-08-31 13:29:30 +00:00
Page:
PLASM compiler
Pages
CATalog files
COPY files
Chat Client Server
Command Line Argument Parsing
Console I O
DELete fles
Double Lo Res Graphics
Double Lo Res Test
Fiber Threads
File I O
Game Port SPI I O
Game Port SPI SD FAT
Game Port Wiring
HTTP Server
Hello World
Hi Res Graphics
Hi Res Test
Home
Installation Guide
Joystick and Buzz
Lo Res Graphics Library
Long Jump
Memory Manager
Music Player
Music Sequencer
NEWDIR
Network I O
PLASM compiler
PLASMA Byte Codes
PLASMA JIT Compiler Implementation
Porting Guide
REName files
ROGUE
RPN Calculator
Rod's Colors
SANE Floating Point
Sieve
System Library
TYPE file
Trivial FTP Daemon
Variable assignment and addressing explained
ZIPCHIP
Zero Page Usage (Apple IIe 64K )
code text Editor
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.