Skip to content

FaberSanZ/Lox.NET

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Lox.NET

A cross-platform compiler/interpreter .NET Standard implementation of the Lox language Roslyn inspired.


License: MIT

The code is licensed under MIT. Feel free to use it for whatever purpose.



Examples

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();
    }
}

Releases

No releases published

Packages

No packages published

Languages