Skip to content

Latest commit

 

History

History
22 lines (15 loc) · 1.46 KB

README.md

File metadata and controls

22 lines (15 loc) · 1.46 KB

Yotta

Welcome to Yotta! Yotta is a minimalistic forth-like language. Its most distinctive feature is that it comes with very few primitives:

  • $XX emits the machine code XX given in hexadecimal.
  • ^XX emits machine code that emits machine code XX.
  • : A defines a new word A

The rest is built-up from there. Yotta is split into several parts, in the src directory:

If this piques your interest, I recommend reading the preamble and the forth chapter, and the rest as interests you.

This code supports x86-64 linux and macos:

  • To build and run on linux, use make run-linux.
  • To build and run on intel macs, use make run-macos.