https://github.com/bradleywood/jbrainfuck
A brainfuck interpreter for the jvm
https://github.com/bradleywood/jbrainfuck
Last synced: 2 months ago
JSON representation
A brainfuck interpreter for the jvm
- Host: GitHub
- URL: https://github.com/bradleywood/jbrainfuck
- Owner: BradleyWood
- License: mit
- Created: 2017-11-30T23:00:37.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-07-04T23:44:31.000Z (almost 7 years ago)
- Last Synced: 2025-03-02T12:52:00.023Z (3 months ago)
- Language: Brainfuck
- Homepage:
- Size: 26.4 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# JBrainfuck
A Brainfuck interpreter for the jvm built using Antlr.
# Setup
```
git clone https://github.com/BradleyWood/JBrainfuck.git
``````
mvn install
```# Running
```
java -jar jbrainfuck-1.0-SNAPSHOT-jar-with-dependencies.jar
```# About Brainfuck
Brainfuck is a minimalist esoteric programming language with just
8 commands. It is designed to challenge and amuse programmers.| Command: | Meaning |
| :------: | :------ |
| > | Increment the data pointer|
| < | Decrement the data pointer|
| + | Increment the byte at the data pointer|
| - | Decrement the byte at the data pointer|
| . | Output the byte at the data pointer|
| , | Read and store a byte at the data pointer|
| [ | If the byte at the data pointer is zero skip to next matching']' |
| ] | If the byte at the data pointer is not zero, jump to the previous matching '['|