A cross-platform compiler/interpreter .NET Standard implementation of the Lox language Roslyn inspired.
The code is licensed under MIT. Feel free to use it for whatever purpose.
class Console
{
Console(str)
{
this.name = str;
}
WriteDebug()
{
print this.name;
}
Write(str)
{
print str;
}
}
class Program
{
Program()
{
}
Main()
{
let cw = Console("Debug Init");
cw.Write("Hello Word 0");
cw.Write("Hello Word 1");
cw.Write("Hello Word 2");
cw.Write("Hello Word 3");
cw.WriteDebug();
}
}