Programming language firstly written using only GNU Assembly. The main goal is to create programming language literally from scratch.
- [X] Written in Assembly (see
asm
branch) - [X] Bootstrapped
- [ ] Optimized
If you’d like to play with Reset, you can compile it by yourself.
You can use already prepared script for that:
./build
Otherwise, you can do it without script. Firstly, you need to compile
bootstrapped version, located in bootstrap
folder.
as --32 -o reset.bootstrap.o <bootstrapped file>
ld -melf_i386 -o reset.bootstrap reset.bootstrap.o
Using generated binary you can compile *.rt files. To compile one, you can do:
./reset.bootstrap <reset file>
This will generate output.asm
file for you. Using instructions above you can
compile it, to run your binary. That’s it. Have fun!