Self-hosting compiler: Difference between revisions

Content added Content deleted
(Add a Rust solution)
(Rename Perl 6 -> Raku, alphabetize, minor clean-up)
Line 58: Line 58:
do("put _system.milliseconds")
do("put _system.milliseconds")
-- 22476580</lang>
-- 22476580</lang>

=={{header|Perl 6}}==

<lang perl6>use MONKEY-SEE-NO-EVAL;
EVAL slurp</lang>


=={{header|Phix}}==
=={{header|Phix}}==
Line 69: Line 64:
=={{header|Python}}==
=={{header|Python}}==
The [http://pypy.org/ PyPy] project has implemented Python using the Python language. The most popular Python interpreter is CPython, which is implemented in C.
The [http://pypy.org/ PyPy] project has implemented Python using the Python language. The most popular Python interpreter is CPython, which is implemented in C.

=={{header|Raku}}==
(formerly Perl 6)

<lang perl6>use MONKEY-SEE-NO-EVAL;
EVAL slurp</lang>

=={{header|Rust}}==
=={{header|Rust}}==
[https://web.archive.org/web/20140815054745/http://blog.mozilla.org/graydon/2010/10/02/rust-progress/ Since 2010], the [https://github.com/rust-lang/rust/ Rust compiler] has consisted of a self-hosting compiler frontend built on top of LLVM.
[https://web.archive.org/web/20140815054745/http://blog.mozilla.org/graydon/2010/10/02/rust-progress/ Since 2010], the [https://github.com/rust-lang/rust/ Rust compiler] has consisted of a self-hosting compiler frontend built on top of LLVM.