Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hizkifw/bfasm.py
Compile Brainfuck to Linux x86 ASM
https://github.com/hizkifw/bfasm.py
Last synced: about 1 month ago
JSON representation
Compile Brainfuck to Linux x86 ASM
- Host: GitHub
- URL: https://github.com/hizkifw/bfasm.py
- Owner: hizkifw
- Created: 2023-10-09T09:27:34.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2023-10-09T09:29:11.000Z (about 1 year ago)
- Last Synced: 2023-10-09T10:39:02.879Z (about 1 year ago)
- Language: Python
- Size: 2.93 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# bfasm.py
Naive [Brainfuck](https://en.wikipedia.org/wiki/Brainfuck) to Linux x86 ASM
compiler. Requires [nasm](https://www.nasm.us/).Try it out:
```sh
$ python bfasm.py ./examples/hello.bf hello
$ ./hello
Hello, world!
``````sh
$ python bfasm.py ./examples/rot13.bf rot13
$ ./hello | ./rot13
Uryyb Jbeyq!
$ ./hello | ./rot13 | ./rot13
Hello, world!
```