Programming language written in assembly for future projects

Mora Unie Youer f8159d03f8 [std.rt] Implemented formatted I/O functions 1 year ago
examples f9659ef04b Renamed `alloc` to `allocate` 2 years ago
.gitignore b98057e585 Created script for easier compiler building 2 years ago
LICENSE a4ccf4dc2f Initial commit 2 years ago
README.org b98057e585 Created script for easier compiler building 2 years ago
build 93975adc8f Added support for passing `as` arguments to `build` 2 years ago
reset.bootstrap.S 52ccb01422 [reset.rt] Division is now unsigned + updated bootstrap 1 year ago
reset.rt 52ccb01422 [reset.rt] Division is now unsigned + updated bootstrap 1 year ago
std.rt f8159d03f8 [std.rt] Implemented formatted I/O functions 1 year ago

README.org

Goals

Getting started

    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 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

This will generate output.asm file for you. Using instructions above you can compile it, to run your binary. That's it. Have fun!