Files
BrainAssembly/docs/syntax.md
2025-10-30 16:40:41 +11:00

19 lines
413 B
Markdown

## Work in Progress
To create a comment, begin a line with a hash (#) symbol, like python.
Create a string: `string name value bytes`
Create a boolean: `bool name value`
Create an integer: `int name value`
**Note**: A string of dynamic length can be created by setting the bytes to -1.
Print a string: `print name`
Example program (prints "Hello, World"):
```cpp
string var 13 "Hello, world!"
print var
```