https://github.com/zesterer/fuckvm
A highly experimental Brainfuck-targetting LLVM-like compiler backend
https://github.com/zesterer/fuckvm
Last synced: 9 months ago
JSON representation
A highly experimental Brainfuck-targetting LLVM-like compiler backend
- Host: GitHub
- URL: https://github.com/zesterer/fuckvm
- Owner: zesterer
- Created: 2019-03-13T23:53:21.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2019-03-13T23:53:46.000Z (almost 7 years ago)
- Last Synced: 2025-04-11T16:23:38.711Z (9 months ago)
- Language: Rust
- Size: 7.81 KB
- Stars: 5
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# FuckVM
FuckVM is an attempt at writing a compiler backend that can target Brainfuck, similar in principle to LLVM for any other instruction set.
## What can it do?
So far, not much. FuckVM can compile simple stack-driven code. It can handle arbitrary basic blocks, gotos, predicated branching, basic
arithmetic, comparison operations, arbitrary local stack values, and has limited support for arbitrarily structured types. It currently does
not have support for function calling or pointers, although planned support for these things is part of FuckVM's internal architecture.
## Status
FuckVM is not something I'm proud of. It's the product of a sleepless night and an obsessive mind. The code is not in a fit state for release
and has virtually no comments. It's only got a single (if relatively comprehensive) piece of example code and is extremely unfinished.
If you're looking to use it as a learning resource, do so at your own peril.
## License
I really don't care about licensing this work, and nobody is ever going to want to use it in its current state.
*Dons blindfold, throws dart at spinning wheel*
Oh, would you look at that. It seems to have landed on the... 'Do What the Fuck You Want to Public License'.
Fitting, given the profanity-loving name of its latest member.
http://www.wtfpl.net/