/bits

Haskell and C++ implementations of https://github.com/Helen0903/bitch

Primary LanguageC++MIT LicenseMIT

bit** programming language

This repository contains two implementation of https://github.com/Helen0903/bitch, one in Haskell, and the other in C++.

(Note that despite the offensive name, the language itself is surprisingly interesting.)

The following distinguishing features are implemented:

  • big integers, offering unbounded memory

  • the additional operation % dumps the current state and the next instruction

    format: % .. accumulator (in hex) | reverse storage .. instruction

    example: % .. 0000 0000 0000 0001 | 8000 0000 0000 0000 .. ^^[1

files