Self-hosting compiler: Difference between revisions
Content added Content deleted
(Added zkl) |
(J solution) |
||
Line 3: | Line 3: | ||
Implement a self-hosting compiler for your language. |
Implement a self-hosting compiler for your language. |
||
Extra credit for any solution that can compile in an online compiler such as Ideone. |
Extra credit for any solution that can compile in an online compiler such as Ideone. |
||
=={{header|J}}== |
|||
<lang J>do =: ". |
|||
STDIN =: 1 |
|||
do read STDIN |
|||
NB. example: |
|||
".1!:1[1 |
|||
((,~}:)~|.)'Go hang a salami ' |
|||
Go hang a salami imalas a gnah oG</lang> |
|||
=={{header|Perl 6}}== |
=={{header|Perl 6}}== |