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

Getting Started

Variables

Operators

Control Structures

Getting Input

Functions

Lists

Strings

Date and Time

Check Data Type and Conversion

Mathematical Functions

Intermediate

Files

System Functions

Eval() and Debugging

Demo Programs

ODBC Functions

MySQL Functions

Security and Internet Functions

Advanced

Object Oriented Programming (OOP)

Declarative Programming using Nested Structures

Natural Language Programming

Functional Programming

Reflection and Meta-programming

Extension using the C/C++ languages

Embedding Ring Interpreter in C/C++ Programs

Command Line Options

Web Development (CGI Library)

Code Generator for wrapping C/C++ Libraries

Graphics and 2D Games programming using RingAllegro

Desktop and Mobile development using RingQt

This article is issued from Wikibooks. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.