-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
26 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
Usage cflisp [options] file... | ||
Options: | ||
|
||
--help Print this page | ||
|
||
-x Prints numbers as hex instead | ||
-c Disables comments (variable names mostly) | ||
-p Prints the parsed tree structure of the program | ||
-P Prints the parsed tree after structs have been simplified down to native types and after -O2 IR optimisations have been performed | ||
-t Disables type checking | ||
-s Prints the compiled code to stdout instead of a file | ||
-a Calls qaflisp directly. Requires qaflisp to be on $PATH. Probably doesn't work on Windows | ||
-o Sets the name of the output file (following argument) | ||
-g Adds debug info. Disables removal of unused names and adds `ORG $20` to the top for easier digiflisp debugging | ||
-O (/O1/O2) Enables optimisations. (If a level is specified it needs to be its own flag) | ||
-k Disables interrupts after main has exited |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters