Skip to content

An Object-Oriented Programming Language built using C#, inspired by Lox. Uses .mlf files. Currently interpreted, but it is to be eventually compiled

Notifications You must be signed in to change notification settings

NaturalBottle250/MapleLeaf

Repository files navigation

The readme is still under construction

In the meantime, here are some snippets of already-implemented features

Maple Leaf
//This is temporary while I implement Objects
print "Hello, World!";

var greeting: string = "Hello, World! ";

var number: int;
number = 10;

var pi: float = 3.14;


fun countdown(x: int): void
{
  print x;
  if(x > 0) countdown(x - 1);
}


countdown(number);

{
  var number: int = 5;
  print number; //Prints '5'
}

print number; //Prints '10'

for(var index: int = 0; index < number; index = index + 1)
{
  print greeting + (index + 1);
}

Potential file icon?

![file icon maybe](https://github.com/user-attachments/assets/c57c29c3-302f-4ac1-ab81-d7ef80f8bb46)

About

An Object-Oriented Programming Language built using C#, inspired by Lox. Uses .mlf files. Currently interpreted, but it is to be eventually compiled

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages