Skip to content

Symefa/gib-lang

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

The purpose of this repo is showcasing the possibility of creating Turing-complete language using only 3 symbols. And to test my ability using python language.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages