Compiler/Preprocessor: Difference between revisions

m
m (syntax highlighting fixup automation)
m (→‎{{header|Wren}}: Minor tidy)
 
(One intermediate revision by one other user not shown)
Line 61:
 
=={{header|Julia}}==
<syntaxhighlight lang="rubyjulia">""" Rosetta Code task Compiler/Preprocessor task """
 
""" If the line is a macro definition, add the macro to macros. """
Line 802:
 
Note that the program errors out if there are any syntax or other errors when defining the macros.
<syntaxhighlight lang="ecmascriptwren">import "os" for Process
import "./ioutil" for FileUtil, File, Input
import "./str" for Char
Line 985:
Using the example files;
<pre>
$ wren-cli compiler_preprocessorCompiler_Preprocessor.wren -d
How many lines are to be entered? : 4
 
Line 1,025:
{{out}}
<pre>
$ wren-cli compiler_preprocessorCompiler_Preprocessor.wren -d Source.t
Output:
 
9,476

edits