Skip to content

Champion2005/Remora

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Remora

About

Remora is an interpreted programming language created in Python.

Usage

  1. Clone the repo

  2. Create a file with the .re extension

    • example.re
  3. Write a program! See samples for inspiration.

  4. Run the shell.py script

  5. Call run("path/to/your_re_file")

  6. Celebrate! You just ran your first Remora program!

Sample Programs

Hello Remora

Code

print("Hello Remora")

Output

Hello Remora

Print even numbers 1-10

Code

for i=0 to 11 step 2 then
    print(i)
end

Output

0
2
4
6
8
10

Print out names in an array with their ages

Code

func person(name, age)
    print("Hello " + name + ", you are " + age + " years old")
end 

let names = ["Person1", "Person2", "Person3"]
let ages = ["18", "19", "20"]

for i=0 to len(names) then 
    person(names/i, ages/i)
end

Output

Hello Person1, you are 18 years old
Hello Person2, you are 19 years old
Hello Person3, you are 20 years old

Thanks to CodePulse on youtube, @davidcallanan on github.

About

My own interpreted language

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •