Compiler/Preprocessor: Difference between revisions

change "{{task heading" to "{{task_heading"
(remove {{task heading}} as this is still a {{draft task}} and the "heading" category doesn't make sense)
(change "{{task heading" to "{{task_heading")
 
Line 15:
There are three possible [optional] command line arguments, debug, input, and output. Debug is an implementer depended switch such as -d or --debug to allow the user to pick between the commands vanishing from the output or the commands appearing as comments in the output. Debug can be specified in any order on the command line beyond the command. Input is the file to process, when missing the console input is used. The Input is always specified before the Output. Output is the file to create, when missing the console output is used. If only one file is specified, it is the input file. If you wish to use an output file and console input, you must specify both arguments, who's usage is left up to the implementer. It is not required that there be a way to specify the console on the command line so you could use a file for the output and console for the input.
 
{{task headingtask_heading|Input Specification}}
 
This is an example usage of this concept, given a header and source the output should be able to feed straight into the lexical analyzer task.
Line 30:
</pre>
 
{{task headingtask_heading|Output Specification}}
 
If you do not support a runtime debugging flag, your code should support only the second version. Otherwise, it should provide either. Yielding code output of:
6,962

edits