Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Rue

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

Table of Contents

Usage

  1. Clone the repository:
git clone git@github.com:Husain206/rue-vm.git
cd rue-vm
make vm
./rue_flat_vm tests/[file.rue]

About The Language

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

TODOS:

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

About

a VM version of my interpreted language rue

Topics

Resources

Stars

Watchers

Forks

Contributors

Languages