-
Notifications
You must be signed in to change notification settings - Fork 12
Open
Description
pc roundup
Remaining items need doing on pc. Some of these are already tickets.
- Return an error code (pc does not exit with error status #245). [done]
- If the .pas file contains no code, then don't compile it (its just a header). [done]
- If the .pas file is not a program (does not have "program" in the header, then don't compile it to an executable. Just compile it as a module. [done]
- Finish all passthough options. [done]
- Expand all passthough options to long form. This helps output files to be self documenting. [done]
- Deconflict the pc options with pcom options. Since all single letter options are in use in pcom, this means expanding pc options beyond single letters. [done]
- Add support for -pint, -pmach and -package. These will prepare the files but not run them.
- Add -run option. This will do a straight run on whatever is produced, including executables or intermediates. Note that intermediates need to have their dependent modules collected, so this is not trivial.
- Add -test option. This is also a -run option, but automatically inputs from *.inp, outputs to .out, and compares the output to .outcmp, and puts the difference into .outdif, and announces the result of the difference in pass/fail terms. The output of the compiler is put into .lst, and that is compared to .cmp, with the difference going to .diff.
- Fix pc dependency fail #244 dependency fail.
- Output lines and line numbers for scanner errors in source. [already does this]
Metadata
Metadata
Assignees
Labels
No labels