Skip to content
This repository has been archived by the owner on Nov 6, 2018. It is now read-only.
/ jslol.PARSER Public archive

JavaScript Like Object Language Parser - Library to automatically translate JSLOL to C#.

License

Notifications You must be signed in to change notification settings

mrozo/jslol.PARSER

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

jslol.PARSER

JavaScript Like Object Language Parser - C# library to automatically translate JSLOL to C#.

JSLOL Description

JSLOL is an attempt to create a perfect object oriented language. The target is to create language specified by the following list of features :

  • everything is an object (even method),
  • basic type control,
  • support for classic inheritance (from one, or multiple parrents)
  • support for dynamic class object modification (eg. method copy)

Code example

Early JSLOL code exmple.

{
    std.num number = 0.2;   #comment 1
    std.str[] stringVar; #comment 2
    std.str() method = (std.str arg1, std.num arg2)
    {
        
    }
}

Usage example

C# code.

using JSLOL.Parser;
namespace JSLOL.example
{
    class Program
    {
        static void Main(string[] args)
        {
            CodeElement parsedCode = new SourceFile(source) as CodeElement;
        }
    }
}

About

JavaScript Like Object Language Parser - Library to automatically translate JSLOL to C#.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages