Live data from Hacker News

Atomo, the programmer's programmable programming language

atomo-lang.org

21–30 of 37 posts

Re: Atomo, the programmer's programmable programming language

#21

Many bits of Atomo are written in Atomo, including Eco (the package manager), the REPL, and so on... http://darcsden.com/alex/atomo/browse/prelude/

Are there any languages out there that are, or virtually are, written entirely in themselves?

The examples I'm surprised no one has mentioned so far: C and C++. (gcc is written in C. clang is written in C++. Just about every C or C++ compiler is written in C or C++ or both, though there are exceptions like the C compiler on the Symbolics Lisp machines.)

Re: Atomo, the programmer's programmable programming language

#22
post #20

Here's what I needed to do to install and run Atomo under (latest) Ubuntu: $ sudo apt-get install haskell-platform libghc6-terminfo-dev $ cabal update $ cabal install atomo $ ~/.cabal/bin/atomo > 1 + 1 2

Hackage has been down all day; I've uploaded a new version (0.2.1) just now which has the new condition/restart system, new REPL, and other goodies. Should be just a "cabal update; cabal install atomo" away! :)

Re: Atomo, the programmer's programmable programming language

#23
post #18

Earlier quoted context omitted.

Are there any languages out there that are, or virtually are, written entirely in themselves?

Squeak, for example, has its VM quite literally written in a subset of itself called Slang, which translates to C: http://ftp.squeak.org/docs/OOPSLA.Squeak.html Also, most Lisps (especially Scheme) have a relatively small core written in C for bootstrapping, and the rest of the language is written in itself.

The Jikes RVM (Research Virtual Machine) uses a similar approach: http://jikesrvm.org/ Most of the implementation is written in Java, but there's a small core written in C that bootstraps the VM.

Re: Atomo, the programmer's programmable programming language

#25

Many bits of Atomo are written in Atomo, including Eco (the package manager), the REPL, and so on... http://darcsden.com/alex/atomo/browse/prelude/

Are there any languages out there that are, or virtually are, written entirely in themselves?

GHC is written in Haskell (and is the premier Haskell compiler).

Re: Atomo, the programmer's programmable programming language

#26

Many bits of Atomo are written in Atomo, including Eco (the package manager), the REPL, and so on... http://darcsden.com/alex/atomo/browse/prelude/

Are there any languages out there that are, or virtually are, written entirely in themselves?

I think I read the very first implementation of Pascal was in Pascal. Which of course meant it couldn't run at all! So it ran on the second Pascal implementation: a hand translation of the first to assembler.

Re: Atomo, the programmer's programmable programming language

#29

Many bits of Atomo are written in Atomo, including Eco (the package manager), the REPL, and so on... http://darcsden.com/alex/atomo/browse/prelude/

Are there any languages out there that are, or virtually are, written entirely in themselves?

Aside from a tiny VM written in C++, nearly all of Factor (http://factorcode.org/), including its parser, optimizing compiler, and code generator, is written in itself. The author of Clay (http://tachyon.in/clay/) is working on a new version of its compiler written in itself too.

Re: Atomo, the programmer's programmable programming language

#30

Many bits of Atomo are written in Atomo, including Eco (the package manager), the REPL, and so on... http://darcsden.com/alex/atomo/browse/prelude/

Are there any languages out there that are, or virtually are, written entirely in themselves?

Delphi was, pre .net days.

It had a handful of assembler code to bootstrap it, and from there it built upon itself

Post reply on HN