Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/catseye/shelta

A language with a very small, self-hosted compiler for MS-DOS
https://github.com/catseye/shelta

esolang ms-dos self-hosted

Last synced: about 5 hours ago
JSON representation

A language with a very small, self-hosted compiler for MS-DOS

Awesome Lists containing this project

README

        

Shelta
======

Shelta is a minimal Forth-like language. It has barely any semantics of its
own; it relies on inline machine code to write anything resembling an actual
program in it.

In the spirit of compilers for languages such as FALSE and brainfuck, a
Shelta-to-8086 compiler was implemented (with some help from Ben Olmstead) as
an MS-DOS `.COM` executable containing less than 512 bytes of 80286 machine
code.

What's more, it has also been bootstrapped — that is to say, a Shelta compiler
was written in Shelta, which was compiled with the original compiler, and then
compiled again with the resulting compiler, producing a wholly self-hosted
executable.

For more information, see the files in the `doc` directory of this distribution.