/BitP

Simple compiler-interpreter for the BitP language.

Primary LanguageC++

BitP v0.7.0

This is an interpreter for a programming language, BitP (/bɪd-ɪp/), written in C++. It was designed to resemble (and be practical as) an assembly language, but compacted into 16 commands so that a human can learn it more easily. It ended up being more of an esolang...

Windows

  • The program (bitp_7.exe) must be run in command prompt, with the file you intend to run as the first argument. You must include the file extension.
  • If you want to run in debug mode, append "-d" to your arguments.
  • The .dll files must be put in the same directory as the .exe you wish to run.

MacOS

  • The program (bitp-mac) reads any file you give it. You must include the file extension.
  • If you want to run in debug mode, append "-d" to your arguments.
  • Credit to Rayzr522 for porting.

Linux

  • The program (bitp-linux) reads any file you give it. You must include the file extension.
  • If you want to run in debug mode, append "-d" to your arguments.
  • Credit to Rayzr522 for porting.

bitp.cpp contains the source code. If you are having problems with the above, you can attempt to compile this yourself. This will require C++11.

If you need help on how this works, read 'BitP Guide' on the wiki, or use the cheat sheet. If that's all gibberish, there are a few examples provided.

At release 1.0, everything in the language is finalized. Everything after that point will not affect how .bp files are read. Also, very few programs will break between now and v1.0.