GithubHelp home page GithubHelp logo

brainfucktoil's Introduction

Brainfuck to IL

A simplistic Brainfuck to IL compiler.

Installation

Note The .NET 7.0 SDK is required to install and run this tool.

Build from source

Run the following commands in your favorite terminal:

git clone https://github.com/thinker227/BrainfuckToIL.git/
cd BrainfuckToIL
./install-tool.ps1

If you get an error attempting to run the Powershell script, you can instead manually run the commands in install-tool.ps1.

Install from Nuget

A Nuget package is currently not available.

Usage

Compile a Brainfuck file to a .NET executable:

# Compile source file
bftoil foo.bf

# Run output executable
./foo.exe

You can alternatively specify whether to output a DLL or exe, of which exe is the default:

# Output an exe
bftoil bar.bf -o exe

# Output a DLL
bftoil bar.bf -o dll

You can also explicitly specify the output file or directory:

# Output to baz.exe
bftoil baz.bf baz.exe

# Output to a subdirectory
bftoil baz.bf output/

Run a Brainfuck file without having to compile to an executable file first:

bftoil run qux.bf

See the CLI docs for a more extensive overview of commands.

brainfucktoil's People

Contributors

thinker227 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.