Skip to content

rbs-pli/bf256

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bf256

bf256 is a Brainfuck compiler under 256 bytes in size.

It probably only works on OpenBSD/amd64 as-is.

Write-up

See the blog post.

Building

Just run make.

Running

$ bf256 < input.bf > output.c

Alternatively:

$ bf256 < input.bf | cc -x c -

Size

Compiler alone:

$ size bf256.o
text    data    bss     dec     hex
216     0       0       216     d8

With overhead:

$ size bf256
text    data    bss     dec     hex
240     0       0       240     f0

License

ISC License. See LICENSE for details.

About

Brainfuck compiler under 256 bytes in size.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Assembly 93.4%
  • Makefile 6.6%