Files
BrainAssembly/readme.md

19 lines
757 B
Markdown
Raw Normal View History

2025-10-06 10:50:14 +11:00
## Welcome to BrainAssembly!
BrainAssembly is a language that compiles to Brainfuck. Similar to Assembly languages, it has simple syntax, and is designed to make Brainfuck easier to write code for. Heavily inspired by Ground. Enjoy!
2025-10-06 12:52:38 +11:00
To run:
- First clone this repository and install python.
```
git clone https://chookspace.com/DiamondNether90/BrainAssembly
```
- Next, run the following command to compile a .basm file to Brainfuck:
```
python3 src/main.py path/to/file.basm path/to/file.bf
```
(Replace path/to/file.basm with the actual path to your desired .basm file, and replace path/to/file.bf with where you want the compiled file to be created.)
2025-10-06 12:52:38 +11:00
This will create or replace the contents of path/to/file.bf with the compiled BrainAssembly code.