C1R Implementation: Difference between revisions
Content added Content deleted
m (finger check) |
imported>Katsumi No edit summary |
||
Line 5: | Line 5: | ||
The "Quine" task required special treatment. |
The "Quine" task required special treatment. |
||
< |
<syntaxhighlight lang="bash">#! /bin/bash |
||
# C1R compiler |
# C1R compiler |
||
Line 50: | Line 50: | ||
cc $FILENAME1 |
cc $FILENAME1 |
||
</syntaxhighlight> |
|||
</lang> |
|||
A typical test session would look like: |
A typical test session would look like: |
||
< |
<syntaxhighlight lang="bash"> |
||
$ echo Hello_world/Text >hw.c1r |
$ echo Hello_world/Text >hw.c1r |
||
$ ./c1r hw.c1r |
$ ./c1r hw.c1r |
||
$ ./a.out |
$ ./a.out |
||
Goodbye, World! |
Goodbye, World! |
||
</syntaxhighlight> |
|||
</lang> |