Dr-Nekoma / chime

A stack-based virtual machine written in Objective-C

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Chime 🔔

A runtime at your service. Chime is a hybrid Virtual Machine that first compiles a chime program into a sequece of words (32 bits each) and later on interprets it.

It is Turing Complete. As for nice to haves, you have compile-time literals (integers), string support and syscalls (write and read from stdout).

Features

Chime 1.0 [9/9]

  • [X] Stack manipulations
  • [X] Flow control
  • [X] Arithmetic and Logic
  • [X] Address Management
  • [X] Neutral instructions
  • [X] Function calls
  • [X] Strings
  • [X] Syscalls
  • [X] Rule 110

Chime 2.0 [0/4]

  • [ ] Translator between dialects
  • [ ] Closures
  • [ ] ROM
  • [ ] x86 Compilation (ROM is required)

How to use Chime

Nix

> just build
> ./result/bin/chime -p program.chf -d dialect

Guix

TODO

Developers

  • EduardoLR10
  • z-silver
  • MMagueta

Dr.Nekoma

Built live on Twitch and archived on Youtube.

References

About

A stack-based virtual machine written in Objective-C


Languages

Language:Objective-C 90.5%Language:Nix 7.6%Language:C 1.6%Language:Just 0.3%