a VM version of my interpreted language rue also no GC(yet)
fun fact: rue means "regret" but it also refers to a medical herb which :D
- Clone the repository:
git clone git@github.com:Husain206/rue-vm.git
cd rue-vm
make vm
./rue_flat_vm tests/[file.rue]check tests/ to get familiar with the syntax
ala(as long as) is just while loop, ill try to think of something spcial :"D
i mainly want to learn about memory mangement so im gonna be doing refc arc and other types of management system in the future
something similar to how rust and nim
i read that a good start would mark and sweep end of the world type of gc so maybe ill start with that
- GC -->
- array -->
- return functions and recursion -->
- builtin functions (print, input, len, rand) -->
- swtich statement || match -->
- product types (structs) -->
- sum types (tagged unions) -->
- closures -->
- ELSE IF => MILF :"D -->
- ternary operator -->
- modules / import -->
- Foreign Function Interface (FFI): call C functions directly -->
- jit compiler -->