Remora is an interpreted programming language created in Python.
-
Clone the repo
-
Create a file with the .re extension
example.re
-
Write a program! See samples for inspiration.
-
Run the
shell.pyscript -
Call
run("path/to/your_re_file") -
Celebrate! You just ran your first Remora program!
Code
print("Hello Remora")
Output
Hello Remora
Code
for i=0 to 11 step 2 then
print(i)
end
Output
0
2
4
6
8
10
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.