Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
A programming language that you'll :heart:
tree: 7cfb8fb9d3

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
bin
examples
lib
test
.gitignore
Gemfile
LICENSE.txt
README.md
Rakefile
mojikun.gemspec

README.md

Mojikun

A Brainfuck based on Emoji.

Instructions:

πŸ‘‰ Move the pointer to the right
πŸ‘ˆ Move the pointer to the left
πŸ‘ Increment the memory cell under the pointer
πŸ‘Ž Decrement the memory cell under the pointer
πŸ’» Output the character signified by the cell at the pointer
πŸ’Ύ Input a character and store it in the cell at the pointer
πŸ”ƒ Jump past the matching πŸ”™ if the cell under the pointer is 0
πŸ”™ Jump back to the matching πŸ”ƒ if the cell under the pointer is nonzero

Installation

Add this line to your application's Gemfile:

gem 'mojikun'

And then execute:

$ bundle

Or install it yourself as:

$ gem install mojikun

Usage

A mojikun binary is provided to let you run programs. There is an examples directory which has some examples. Use mojikun like any other interpreter:

mokikun examples/hello.moji

.moji is the preferred file ending for Mojikun.

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request
Something went wrong with that request. Please try again.