Anonymous user
Category:C1R: Difference between revisions
Added acknowledgement and remarks on the implementation
mNo edit summary |
(Added acknowledgement and remarks on the implementation) |
||
(One intermediate revision by one other user not shown) | |||
Line 13:
C1R can also be regarded as an [[adaptive]] language, as the set of valid C1R programs varies with the C implementations for tasks at Rosetta Code.
The development of C1R has been inspired on the [[HQ9+]] and [[C0H]] programming languages. HQ9+ accepts "H" in its source to print "Hello World!". C0H improves over HQ9+ by offering the full power of the C language; moreover, C0H offers a shorter path to writing a Hello World program: just create an empty file. C1R allows the user to submit a text file with just a simple reference of a task implemented in C at Rosetta Code; that reference is the implementation of the task in C1R.
E.g., the following C1R program
<lang c>
Line 21:
==Implementation==
C1R is implemented using a Shell script that calls the C compiler. The script starts by testing whether C code should be downloaded from the Rosetta Code site. The Quine task is treated as a special case.
See [[C1R Implementation]]
==Acknowledgement==
When hearing of C0H, Jelle van Zeijl suggested to make a similar language based on downloading C code from the Rosetta Code site.
==Documentation==
|