Skip to content

Latest commit

 

History

History
27 lines (20 loc) · 1.52 KB

README.md

File metadata and controls

27 lines (20 loc) · 1.52 KB

brainfrick

A modified brainfuck implementation that can compile to JVM bytecode, and allow for object-oriented programming.

Using

Docs Maven Central javadoc Gradle Plugin Portal

Brainfrick provides a gradle plugin for compiling brainfrick code, and the runtime libraries are available on maven central. To use, apply the plugin and add the runtime libraries as a dependency:

plugins {
    id 'io.github.lukebemish.brainfrick' version '<plugin-version>'
}

repositories {
    mavenCentral()
}

dependencies {
    implementation 'io.github.lukebemish.brainfrick:brainfrick-runtime:<version>'
}

Brainfrick code can be written in .frick files inside of the brainfrick folder within a source set: for instance, src/main/brainfrick/helloWorld.frick. Brainmaps are referenced from .frick files by relative path, and should have the .map extension.