Ring

From Wikibooks, open books for an open world
Jump to: navigation, search
An introduction to
Thering.jpg

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]

Getting Started[edit]

Variables[edit]

Operators[edit]

Control Structures[edit]

Getting Input[edit]

Functions[edit]

Lists[edit]

Strings[edit]

Date and Time[edit]

Check Data Type and Conversion[edit]

Mathematical Functions[edit]

Intermediate[edit]

Files[edit]

System Functions[edit]

Eval() and Debugging[edit]

Demo Programs[edit]

ODBC Functions[edit]

MySQL Functions[edit]

Security and Internet Functions[edit]

Advanced[edit]

Object Oriented Programming (OOP)[edit]

Declarative Programming using Nested Structures[edit]

Natural Language Programming[edit]

Functional Programming[edit]

Reflection and Meta-programming[edit]

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

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

Command Line Options[edit]

Web Development (CGI Library)[edit]

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

Graphics and 2D Games programming using RingAllegro[edit]

Desktop and Mobile development using RingQt[edit]