24 lines
589 B
Markdown
24 lines
589 B
Markdown
# Brain Assembly
|
|
|
|
Brain Assembly is a ground-like language that compiles to Brainfuck. It provides variable creation, C-like pointers, and other tools that make it feel more familiar to use.
|
|
|
|
# Setup
|
|
|
|
```bash
|
|
git clone https://chookspace.com/DiamondNether90/BrainAssemblyV2 BrainAssembly
|
|
cd BrainAssembly
|
|
sudo ln -s (pwd)/src/main.py /usr/local/bin/basm
|
|
```
|
|
|
|
To compile a file, run:
|
|
```bash
|
|
basm (filename) (writefile) (flags)
|
|
```
|
|
Example usage:
|
|
```bash
|
|
# Compile tests/test.basm and write code to test.bf:
|
|
basm tests/test.basm test.bf
|
|
```
|
|
|
|
# Syntax
|
|
Syntax can be found in `docs/syntax.md` |