Reassign variables with set, bugfixes for strings shorter than allocated size

This commit is contained in:
2025-10-06 18:33:53 +11:00
parent ae37d8deab
commit e180adea8c
5 changed files with 58 additions and 11 deletions

View File

@@ -1,6 +1,6 @@
## 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. Heavily inspired by Ground. Enjoy!
To run:
@@ -14,4 +14,6 @@ git clone https://chookspace.com/DiamondNether90/BrainAssembly
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.)
This will create or replace the contents of path/to/file.bf with the compiled BrainAssembly code.