Print function and readme.md

This commit is contained in:
2025-10-06 12:52:38 +11:00
parent 5188784a11
commit ae37d8deab
5 changed files with 49 additions and 9 deletions

View File

@@ -1,3 +1,17 @@
## 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. Enjoy!
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. Enjoy!
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
```
This will create or replace the contents of path/to/file.bf with the compiled BrainAssembly code.