Skip to content

A brainf*ck compiler that can output native executables using LLVM

Notifications You must be signed in to change notification settings

ethanavatar/bf-native

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bf-native

A brainf*ck compiler written using llvm-lite as a compiler backend

Example

run.sh

#!/bin/bash

set -xe
python "bf-native" hello.bf hello.ll && clang hello.ll -o hello.exe && ./hello.exe
$ ./run.sh 
+ python bf-native hello.bf hello.ll
+ clang hello.ll -o hello.exe
+ ./hello.exe
Hello World!

About

A brainf*ck compiler that can output native executables using LLVM

Resources

Stars

Watchers

Forks