75% developed

Ring

From Wikibooks, open books for an open world
Jump to navigation Jump to search
An introduction to

The Ring Programming Language

Version 1.0

The Ring is an Innovative and practical general-purpose multi-paradigm scripting language that can be embedded in C/C++ projects, extended using C/C++ code and/or used as standalone language. The supported programming paradigms are Imperative, Procedural, Object-Oriented, Functional, Meta programming, Declarative programming using nested structures, and Natural programming. The language is portable (Windows, Linux, Mac OS X, Android, etc.) and can be used to create Console, GUI, Web, Games and Mobile applications. The language is designed to be Simple, Small, Flexible and Fast. Its Dynamic Language (Dynamic Typing and Weakly Typed) that compile the source code to byte code then execute it by the Ring Virtual Machine, which is integrated with the Ring Compiler in one program. The first version of the language (around 100,000 lines of C/C++/Ring code) is released on January 25th, 2016

Basic[edit | edit source]

Getting Started[edit | edit source]

Variables[edit | edit source]

Operators[edit | edit source]

Control Structures[edit | edit source]

Getting Input[edit | edit source]

Functions[edit | edit source]

Lists[edit | edit source]

Strings[edit | edit source]

Date and Time[edit | edit source]

Check Data Type and Conversion[edit | edit source]

Mathematical Functions[edit | edit source]

Intermediate[edit | edit source]

Files[edit | edit source]

System Functions[edit | edit source]

Eval() and Debugging[edit | edit source]

Demo Programs[edit | edit source]

ODBC Functions[edit | edit source]

MySQL Functions[edit | edit source]

Security and Internet Functions[edit | edit source]

Advanced[edit | edit source]

Object Oriented Programming (OOP)[edit | edit source]

Declarative Programming using Nested Structures[edit | edit source]

Natural Language Programming[edit | edit source]

Functional Programming[edit | edit source]

Reflection and Meta-programming[edit | edit source]

Extension using the C/C++ languages[edit | edit source]

Embedding Ring Interpreter in C/C++ Programs[edit | edit source]

Command Line Options[edit | edit source]

Web Development (CGI Library)[edit | edit source]

Code Generator for wrapping C/C++ Libraries[edit | edit source]

Graphics and 2D Games programming using RingAllegro[edit | edit source]

Desktop and Mobile development using RingQt[edit | edit source]