All Projects → ibara → bf256

ibara / bf256

Licence: ISC license
Brainfuck compiler under 256 bytes in size.

Programming Languages

assembly
5116 projects
Makefile
30231 projects

Projects that are alternatives of or similar to bf256

Awesome Unix
All the UNIX and UNIX-Like: Linux, BSD, macOS, Illumos, 9front, and more.
Stars: ✭ 973 (+4533.33%)
Mutual labels:  unix, openbsd, bsd
Mg
Micro (GNU) Emacs-like text editor ❤️ public-domain
Stars: ✭ 117 (+457.14%)
Mutual labels:  unix, openbsd, bsd
InitWare
The InitWare Suite of Middleware allows you to manage services and system resources as logical entities called units. Its main component is a service management ("init") system.
Stars: ✭ 164 (+680.95%)
Mutual labels:  unix, openbsd, bsd
Ecominit
eComInit is a free init system and service manager designed to scale from lightweight desktops to web-scale cloud deployments. It aims to offer feature-parity with systemd but with a modular, portable architecture compliant with software engineering best-practice.
Stars: ✭ 352 (+1576.19%)
Mutual labels:  unix, openbsd, bsd
Oksh
Portable OpenBSD ksh, based on the Public Domain Korn Shell (pdksh).
Stars: ✭ 142 (+576.19%)
Mutual labels:  unix, openbsd, bsd
InitKit
Neo-InitWare is a modular, cross-platform reimplementation of the systemd init system. It is experimental.
Stars: ✭ 364 (+1633.33%)
Mutual labels:  unix, openbsd, bsd
mg
OpenBSD Mg editor. Portable Public Domain Micro Emacs for *BSD, Cygwin, Linux, Mac OS X.
Stars: ✭ 99 (+371.43%)
Mutual labels:  unix, openbsd, bsd
Ngircd
Free, portable and lightweight Internet Relay Chat server
Stars: ✭ 292 (+1290.48%)
Mutual labels:  unix, bsd
Bfs
A breadth-first version of the UNIX find command
Stars: ✭ 336 (+1500%)
Mutual labels:  unix, bsd
oberon-07-compiler
Oberon-07 compiler for x64 (Windows, Linux), x86 (Windows, Linux, KolibriOS), MSP430x{1,2}xx, STM32 Cortex-M3
Stars: ✭ 45 (+114.29%)
Mutual labels:  x86-64, amd64
mrouted
The original DVMRP (dynamic multicast routing) implementation for UNIX
Stars: ✭ 58 (+176.19%)
Mutual labels:  unix, bsd
Dragonflybsd
DragonFly BSD System Source Repository (read-only mirror)
Stars: ✭ 367 (+1647.62%)
Mutual labels:  unix, bsd
Cats
Implementations of cat(1) from various sources.
Stars: ✭ 125 (+495.24%)
Mutual labels:  unix, bsd
4bsd-uucp
Simulate a UUCP network with 4.3BSD SimH images
Stars: ✭ 28 (+33.33%)
Mutual labels:  unix, bsd
CSpydr
A static typed low-level compiled programming language inspired by Rust and C
Stars: ✭ 17 (-19.05%)
Mutual labels:  unix, x86-64
uapi
Unix API
Stars: ✭ 18 (-14.29%)
Mutual labels:  unix, openbsd
go-sysconf
sysconf for Go, without using cgo
Stars: ✭ 119 (+466.67%)
Mutual labels:  unix, bsd
Pimd
PIM-SM/SSM multicast routing for UNIX
Stars: ✭ 143 (+580.95%)
Mutual labels:  unix, bsd
Purritobin
ultra fast, minimalistic, encrypted command line paste-bin
Stars: ✭ 171 (+714.29%)
Mutual labels:  unix, openbsd
ccalendar
Chinese Calendar in calendar(1) for BSD, Linux & macOS
Stars: ✭ 17 (-19.05%)
Mutual labels:  unix, bsd

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
207     0       0       207     cf

With overhead:

$ size bf256
text    data    bss     dec     hex
231     0       0       231     e7

License

ISC License. See LICENSE for details.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].