//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);
}
-
Notifications
You must be signed in to change notification settings - Fork 0
NaturalBottle250/MapleLeaf
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
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 0
No packages published