Geocube101 (614)


Recurse is a statically typed, language that compiles into python
It was initially designed to combine features from Java, C++, and Python. An example of this is the ability to define arrays of variable length which can be either typed or untyped.

Compiler Usage

The program is wrapped up into a single class called RecurseCompiler

from Recurse.Recurse import RecurseCompiler
prgm = RecurseCompiler("file_to_compile.rec")

The language is still work in progress and some features (mainly pointers and class instance declaration) are still WIP

Language by @Geocube101 and @ChimaNwosu1

Recurse Language Examples

//Hello World
print("Hello World")
//User input
string uinput = cget("Enter something: ")
//Untyped array vs typed array
array untyped = [true, 2.0, '3', "four", 5]
array<int> typed = [1, 2, 3, 4, 5]
array<int, float> typed_2 = [1, 2, 3.5, 5, -0.6]


Had to update the team repl with the files from the multiplayer one (the files from the multiplayer repl were still there before the jam deadline) but just in case, here is the old repl

You are viewing a single comment. View All
Geocube101 (614)

@TheDrone7 Ok thanks, I couldn't figure that one out