printbf
elvm
Our great sponsors
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
printbf
-
Few lesser known tricks, quirks and features of C
Somewhat related to this, printf alone in a loop is Turing-complete, by using %-directives like that. It was introduced in “Control-Flow Bending: On the Effectiveness of Control-Flow Integrity” (Carlini, et al. 2015) and the authors have implemented Brainfuck and an obfuscated tic-tac-toe with it.
[0]: https://nebelwelt.net/publications/files/15SEC.pdf
[1]: https://github.com/HexHive/printbf
[2]: https://github.com/carlini/printf-tac-toe
-
Controling a Super-Intelligent AI is Impossible, Says Researchers
No shit, you can write a brainfuck interpretter in printf statements: https://github.com/HexHive/printbf
-
The International Obfuscated C Code Contest 2020 winners
https://github.com/HexHive/printbf
well this is a brainfuck interpreter inside printf. I’m pretty sure there are plenty of c-to-bf transpilers.
elvm
-
Compilers for the Future
ELVM lacks a lot of features, but serve the purpose of simplifying the creation of new frontends.
-
Show HN: Lambda-8cc – An x86 C compiler written in untyped lambda calculus
How does it work? Is it translating the C source code of the 8cc C compiler to lambda calculus?
So like C -> ELVM IR -> lambda calculus?
https://github.com/shinh/elvm
If so, it seems like 8cc is doing most of the heavy lifting
- Portable TUI programs
-
awkcc: awk-to-C transcompiler (1988, 2011)
Interested parties should also check out awka (https://github.com/noyesno/awka) and ELVM (which can compile C into awk or sed, among various other things) (https://github.com/shinh/elvm)
-
Big list of ASCII games you can play in the terminal
Oh yeah, there's a compiler that can compile C to sed.
-
Design and Implementation of a 256-Core BrainFuck Computer [pdf]
Would be interesting to have some small C program such as info-zip compiled to bf via ELVM [1] and do a speed comparison.
https://github.com/shinh/elvm
- A Simulator of a Universal Turing Machine
-
Lisp in an “impossible” language, the most complex malbolge program to date
A C compiler that can output Malbolge (among many other esolangs) can be found at https://github.com/shinh/elvm - dunno if it has any relation to this work.
Note that the Malbolge (or rather LMAO/HeLL) backend was added back in July 2019, so I'm not so sure about their claim that "It's as of 2020 and 2021, the most advanced, usable Malbolge program ever created."
- ELVM – Similar to LLVM but Dedicated to Esoteric Languages
-
The International Obfuscated C Code Contest 2020 winners
You are looking for ELVM: https://github.com/shinh/elvm/
What are some alternatives?
OWASP-Xenotix-XSS-Exploit-Framework - OWASP Xenotix XSS Exploit Framework is an advanced Cross Site Scripting (XSS) vulnerability detection and exploitation framework.
malbolge-lisp - A lightweight (350MB) Lisp interpreter in Malbolge Unshackled, often dubbed the hardest turing complete programming language.
printf-tac-toe - tic-tac-toe in a single call to printf
xenocryst - A brainfuck interpreter written for memcpy(). Read the paper (or source) for more details.
awka - Revive awka - Awk to C Compiler
turing - A reference implementation of Alan Turing's 1936 paper, On Computable Numbers
asmbf - The only true brainfuck-targetting assembler.
google-ctf - Google CTF
gocket - 💼 CLI / TUI for Pocket
turing_machine - A simple C program to emulate two symbol turing machine
devdash - :bento: Highly Configurable Terminal Dashboard for Developers and Creators