Skip to content

Latest commit

 

History

History
51 lines (33 loc) · 1.52 KB

File metadata and controls

51 lines (33 loc) · 1.52 KB

gib-lang

main PyPI

gib-lang

Gibberish a minimalist, dynamic, and turing-complete programming language, it is based on Reversible BitFuck. to further reduce it with only 3 instruction.

The Instruction

  • FAFAFAFA Toggle and Move Head Forward, in RBF +>
  • FUFUFAFA Move Head Backward and Open Loop, in RBF <(
  • FAFAFUFU Closes Loop, in RBF )

you can run command using

gib run -t 3 "FAFAFAFA FUFUFAFA FAFAFUFU #toggle head"

or using file

gib run -c -t 88 ./examples/hidup.gb

Here the example instruction combination

FAFAFAFA FUFUFAFA FAFAFUFU  #toggle head
FAFAFAFA FUFUFAFA FAFAFUFU FAFAFAFA #move forward
FUFUFAFA FAFAFUFU #move backward
FAFAFAFA FUFUFAFA FAFAFUFU FAFAFAFA FUFUFAFA #open loop
FAFAFUFU #close loop

How It Works

The program simulate turing machine with moving head and 1-bit tape

turing

How to Install

Giberish can be installed from pypi

pip install gib-lang