Skip to content
/ llbf Public

A Just-In-Time compiler for the Brainf* language (emits LLVM assembly)

License

Notifications You must be signed in to change notification settings

joanrieu/llbf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 

Repository files navigation

llbf

Overview

llbf is a Brainfuck compiler with JIT support based on LLVM.

Usage

llbf [options] <input file>

Options

-S Write output in LLVM intermediate language (instead of bitcode)
-f Enable binary output on terminals
-help Display available options
-o <filename> Specify output filename
-run Run the program

Examples

Run a program:

llbf -run program.bf

Compile a program to native assembly language (you can create an executable by running your usual compiler on the .s file):

llbf program.bf | llc -o program.s

About

A Just-In-Time compiler for the Brainf* language (emits LLVM assembly)

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages