The Sling programming language is a general-purpose, object oriented programming language that is meant to be used for all kinds of software development targeting multiple platforms and different execution environments. Sling encourages productivity, maintainability and well formatted, well structured source code.

Filed under

The Sling programming language is meant to make programming easier, more productive and more powerful. The design of the language is largely driven by the effort to (1) be as logical and consistent as possible, (2) reduce or eliminate manual work to be done while writing code and (3) encourage the creation of maintainable, readable and well formatted source code.

/*
 * Hello world in Sling. Save in a file named "HelloWorld.sling".
 * To compile and run: samce slingc -run=console HelloWorld.sling
 */

class:

func main(args as array<string>) static as int #main
{
	PRINT "Hello World"
	return 0
}

Sling is the successor and replacement of the older EQ Programming Language.

If you are new to Sling, you may also wish to read the original blog post announcement for the Sling Programming Language.

Sling Compilers and Tools

The SAM compiler from Eqela is considered the "reference implementation" of Sling. Please see below:

Read about and download the SAM Compiler

(Take note that while SAM is indeed the reference compiler, it is by no means meant to be the only implementation. Rather, Sling front ends can be implemented for several other compilers and compiler frameworks as well.)

For authoring Sling code, any standard text editor or IDE can be used. We recommend the use of Visual Studio Code (with the Eqela extension), which is also what is being used for the development of Sling itself:

Install Visual Studio Code and Eqela extension

Language Documentation

Please find out more details through the links below:

Sling Language Reference

Standard library

Sling does not in any way enforce the use of any additional standard library. However, in practice, most Sling programs are developed using the Jkop application frameworks.

Read more about Jkop

Sample programs and sample code

The best code samples for Sling programming are currently found in the Jkop (application framework, including game and network development) and Sympathy (web and network service framework) projects, both of which are open source and found on Github. Both projects are fully implemented in Sling:

Community

Sling developers are encouraged to congregate on the relevant Eqela chatrooms on Gitter:



Twitter Facebook LinkedIn Youtube Slideshare Github