Skip to content

Gank-Squad/reimu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

86 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Reimu (Programming Language)

This is the source code for the Reimu Interpreter.

A brief summary of the language can be found here

Building

You need Maven and java 10 or later.

Clone this repo and navigate to the root directory;

Then run:

mvn package

You should then have ./target/reimu-{version}-jar-with-dependencies.jar. This is your interpreter.

Running

Once you have the interpreter jar file, simply run it with source files as the input.

java -jar ./target/reimu-{version}-jar-with-dependencies.jar ./src_files/test.rei

Or you can run it without source files, and access an interactive shell

java -jar ./target/reimu-{version}-jar-with-dependencies.jar

Features

  • variables
  • functions
  • c style for loops
  • for each loop
  • arrays
  • int
  • float/double
  • string
  • boolean
  • casting
  • type system
  • threading
  • math casting (in cast)/(out cast)

About

A JVM Programming Language

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •