Skip to content

This is a machine language that has only 3 register bits for CPU, the idea is to make it so simple and intuitive that it can be easily read on punched cards.

License

Notifications You must be signed in to change notification settings

robsondrs/3bc-lang

 
 

Repository files navigation

3BC Language

sponsors version license covarage

Low-level language, tiny virtual machine, intermediate representation, embeddable, easy for beginners. (Friendly Punched cards)

Documentation

Directory structure

If you are interested in exploring or contributing to the language, follow the monolithic organization.

docs/           Website made with jekyll (Ruby)
examples/       Syntax sampling codes (3bc, Arduino with C++)
programs/       Embbed programs sampling codes (C)
scripts/        Development and installation tools (Bash, Ruby)
src/            Library source code (C)
tests/          Language work check (Ruby)

How to build

Download interpreter source code and manually compile from scratch.

git clone https://github.com/RodrigoDornelles/3bc-lang
make build

How to install

Directly download interpreter as executable command for mac/linux/bsd.

sudo bash -c "$(wget -qO- https://raw.githubusercontent.com/RodrigoDornelles/3bc-lang/master/scripts/install_vm.sh || curl -fsSL https://raw.githubusercontent.com/RodrigoDornelles/3bc-lang/master/scripts/install_vm.sh)"

3bc lang logo This project is licensed under GNU GPL 3.0 or higher, please read the LICENSE.txt file.

About

This is a machine language that has only 3 register bits for CPU, the idea is to make it so simple and intuitive that it can be easily read on punched cards.

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 77.7%
  • Ruby 20.2%
  • Makefile 1.2%
  • Other 0.9%