Self-hosting compiler: Difference between revisions
m
syntax highlighting fixup automation
Thundergnat (talk | contribs) m (syntax highlighting fixup automation) |
|||
Line 34:
=={{header|J}}==
<
STDIN =: 1
do read STDIN
Line 41:
".1!:1[1
((,~}:)~|.)'Go hang a salami '
Go hang a salami imalas a gnah oG</
{{omit from|Julia}}
Line 52:
=={{header|Lingo}}==
Propably not how the task was meant by the OP, but if "compiling code at runtime" counts, here Lingo's capabilities to do this:
<
-- automatically triggers compilation to byte code
Line 69:
-- for direct execution of simple code there is also the do() function
do("put _system.milliseconds")
-- 22476580</
=={{header|Nim}}==
Line 101:
(formerly Perl 6)
<syntaxhighlight lang="raku"
EVAL slurp</
=={{header|Rust}}==
Line 127:
Source ->
Compiled -> http://ideone.com/UHMQco
<
comment:
#true
Line 1,397:
comment:
#true
(zed->scheme!) "value" nil</
=={{header|zkl}}==
|