Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Brainfuck compiler under 256 bytes in size.

License

NotificationsYou must be signed in to change notification settings

ibara/bf256

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bf256 is a Brainfuck compiler under 256 bytes in size.

It probably only works onOpenBSD/amd64as-is.

Write-up

See theblog post.

Building

Just runmake.

Running

$ bf256 < input.bf > output.c

Alternatively:

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

Size

Compiler alone:

$ size bf256.otext    data    bss     dec     hex207     0       0       207     cf

With overhead:

$ size bf256text    data    bss     dec     hex231     0       0       231     e7

License

ISC License. SeeLICENSE for details.


[8]ページ先頭

©2009-2025 Movatter.jp