A stack-based programming language developed to experiment with my language development skills. Runs on an emulated virtual machine, using custom memory, allocation, and garbage collection methods.
- Download the release binary [Only for windows and linux].
- Make it executable using
chmod +x ./ram
- Make a .ram file with the following contents in the same directory as the binary:
main:
ram lx
ram 1
add
ram lx prev
print var lx
ram lx
ram 500
cmp
je halt:
jmp main:
halt:
halt
- run
./ram ./example.ram
and press enter.
The language documentation is available in the wiki. You can read about the detailed work of the project in my blog.
Run cargo test
to run all the tests. This is the output of the test runner:
Im not accepting any breaking changes to the specs, as the language syntax is still in development. But suggestions can be made using the issue tracker. All other types of contributions are welcome. Check the dev
branch, PRs to the master branch won't be accepted.