- Welcome to Ring
- Get Excited!
- Batteries Included!
- Practical
- Implementation
- Building from source code
- License
Ring is a practical general-purpose multi-paradigm language. The supported programming paradigms are Imperative, Procedural, Object-Oriented, Functional, Metaprogramming, Declarative programming using nested structures, and Natural programming.
The language is portable (MS-DOS, Windows, Linux, macOS, Android, WebAssembly, etc.) and can be used to create Console, GUI, Web, Games, and Mobile applications.
The language is designed to be Simple, Small, and Flexible.
Ring comes with better support for Natural Language Programming and Declarative Programming.
The language support these paradigms with new practical techniques on top of Object-Oriented Programming and Functional Programming. No need to know anything about (Compilers and Parsing).
You get the language constructs ready for use to create domain-specific languages in a fraction of time.
Ring comes with many high quality bindings for popular libraries
Many of the Ring libraries (StdLib, WebLib, Natural Library, Games Engine, etc.) and the Ring IDE (Ring Notepad, Form Designer, etc.) are written in the Ring language itself. Ring is ready for use in production and increases the developers productivity.
Using Ring you will feel that the language is yours! A lot of modern programming paradigms are ready for use in production and using Natural Language Programming you can quickly integrate natural interfaces to your programs.
Also, you can start your software development by writing natural descriptions, then adding the implementation later.
Many developers reported that using Ring we can develop many GUI applications in a few hours. Ring comes with Rapid Application Development (RAD) tools that we can use to quickly develop GUI applications using the MVC design pattern. Also, using the same source code we can distribute our applications for Desktop, Web, and Mobile platforms.
We believe in Games as a nice way to encourage people to learn to program. Ring comes with many game programming libraries in the standard library. Ring provides native support for Allegro, LibSDL, RayLib, OpenGL, FreeGLUT, Tilengine and Qt3D libraries. Also, Ring comes with a simple game engine for 2D game development using Declarative Programming.
Using Ring we can quickly develop web applications using WebAssembly (Binary format that allows sand-boxed executable code in web pages. This format is nearly as fast as native machine code and is now supported by all major web browsers)
Using Ring we can quickly develop web applications using the MVC design pattern. We can easily use HTML templates with embedded Ring code. Also, we can generate HTML code from Ring programs using Declarative Programming.
Using Ring we can distribute our applications for mobile platforms (Android, iOS, etc.)
Using Ring we can whip up a CLI tool quickly and distribute it with ease. The Ring Package Manager is an example of a powerful tool that we developed using Ring in a few hours. We recorded the development time (21 hours of development includes explaining each step)
Ring comes with transparent implementation. We can know what is happening in each compiler stage and what is going on during the run-time by the Virtual Machine
Example:
ring helloworld.ring -tokens -rules -ic -norun
The Ring programming language is designed using the PWCT visual programming tool
Avoid memory problems:-
Invalid Memory Access
Memory leaks
Uninitialized Memory Access
Dangling pointer
When we use threads in Ring applications, We don't have a global interpreter (VM) lock (No GIL)
So threads can work in parallel and execute Ring instructions at the same time
This is better for threads and concurrency (More Faster!)
Ring is designed to be a simple, small, and flexible language in the first place, but also it is fast enough for many applications.
Also, when we need more speed we can use C/C++ extensions!
We provide instructions for building on the next platforms:-
The Ring programming language is distributed under the MIT License.