Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Husain206/rue

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

94 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rue

my new little langauge, named rue :D Rue is a small, C/JS-like programming language implemented in C++. Rue is a learning project so far, it doesnt follow the best practies or whatever, i tried to make the code structure as simple and understandable as possiable and reflecting the programming style i like

it is desgined in C++ with a C-like Style while benefeting from the STL c++ provides i tried not to use OOP as much as possiable becasue OOP sucks, i think i only used once or twice? idr

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 [email protected]:Husain206/rue.git
cd rue
make ast
./rue_runtime_ast tests/[file.ru]

About The Language

check tests/ to get familiar with the syntax
ala(as long as) is just while loop

built-in functions:

  • brint() => brint to print and so on
  • inbut()
  • bow()
  • len()
  • num() => converts a value to a num
  • chr() => int value to ascii character
  • ord() => ascii character to int value
  • bush()
  • bob()
  • array()
  • exit()

About

simple interpreter in c++

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages