Skip to content

jacadzaca/brainfuck-asm

Repository files navigation

About

A simple brainfuck to NASM assembly compiler, written in Clojure

Prerequisites

Make sure you have NASM assembler installed

Make sure you have lein installed

Creating an executable

    lein run INPUT_FILE > output.asm && nasm -g -f elf32 output.asm && ld -m elf_i386 -o runme output.o

Example

    lein run example.bf > output.asm && nasm -g -f elf32 output.asm && ld -m elf_i386 -o runme output.o

About

A Brainfuck compiler in Clojure

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published