Jump to content

C1R Implementation: Difference between revisions

no edit summary
m (finger check)
imported>Katsumi
No edit summary
 
Line 5:
The "Quine" task required special treatment.
 
<langsyntaxhighlight clang="bash">#! /bin/bash
 
# C1R compiler
Line 50:
 
cc $FILENAME1
</syntaxhighlight>
</lang>
 
A typical test session would look like:
<langsyntaxhighlight lang="bash">
$ echo Hello_world/Text >hw.c1r
$ ./c1r hw.c1r
$ ./a.out
Goodbye, World!
</syntaxhighlight>
</lang>
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.