Skip to content

overscript-lang/OverScript

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The OverScript Programming Language

This is the source code repository for OverScript. This version is for .NET 6. Version for .NET Standard 2.1 here. OverScript is a simple and powerful C-like statically-typed language written in C# and is great for both embedding in .NET programs and building standalone applications. The project was developed from scratch without looking back at traditional approaches to creating languages. The unique approach allows the language to go beyond the standard features and have great potential for improvement.

Simple code example:

Point[] arr = new Point[]{new Point(25, 77), new Point(122, 219)}; //creating an array of two instances
int n; // 0 by default
foreach(Point p in arr){ // iterating over all elements of an array
    n++;
    WriteLine($"{n}) {p.X}; {p.Y}"); // outputting values using string interpolation
}
//1) 25; 77
//2) 122; 219
ReadKey();

class Point{
    public int X, Y;
    New(int x, int y){ // constructor
        X=x;
        Y=y;
    }
}

About

The OverScript programming language

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages