Resources | Operating System | Status | |
---|---|---|---|
Download | MacOS X (Compiler: gcc C) | ||
Help | Ubuntu Linux (Compiler: gcc C) | ||
Try | MacOS X (Compiler: clang C) | ||
Support | Ubuntu Linux (Compiler: clang C) |
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. Read more!
You can build Ring using CMake or using Scripts (Batch Files or Shell Scripts).
The next steps explains building using scripts.
git clone http://github.com/ring-lang/ring.git
cd ring/src
buildvccomplete.bat
buildvccompletew.bat
cd ../extensions/ringallegro
gencode.bat
buildvc.bat
cd ../extensions/ringcurl
gencode.bat
buildvc.bat
cd ../extensions/ringzip
gencode.bat
buildvc.bat
Install Qt 5.5 : https://download.qt.io/archive/qt/5.5/5.5.1/
cd ../ringqt
gencode.bat
buildmingw32.bat
cd ../../bin
install.bat
Hit "windows key".
Type "Edit the System environment variables"
Select "Advanced" tab.
Click on "Enviroment Variables..."
Double click on "Path"
Add at the end the new path separated by semicolon.
;C:\Ring\Bin
cd applications/rnote
ring rnote.ring
git clone http://github.com/ring-lang/ring.git
cd ring/src
./installdep.sh
sudo ./buildgcccomplete.sh
cd ../extensions/ringallegro
./gencode.sh
./buildgcc.sh
cd ../extensions/ringcurl
./gencode.sh
./buildgcc.sh
cd ../extensions/ringzip
./gencode.sh
./buildgcc.sh
cd ../ringqt
./gencode.sh
./buildgcc.sh
cd ../../bin
sudo ./install.sh
cd applications/rnote
sudo ring rnote.ring
git clone http://github.com/ring-lang/ring.git
Install homebrew (follow the directions on homebrew's homepage).
brew install unixodbc mysql-connector-c allegro openssl homebrew/versions/qt55
brew link --force qt55
cd ring/src
./buildclangcomplete.sh
cd ../extensions/ringallegro
./gencode.sh
./buildclang.sh
cd ../extensions/ringcurl
./gencode.sh
./buildclang.sh
cd ../extensions/ringzip
./gencode.sh
./buildclang.sh
cd ../ringqt
./gencode.sh
./buildclang.sh
cd ../../bin
sudo ./install.sh
cd applications/rnote
sudo ring rnote.ring
Install libraries (MySQL Client, OpenSSL, LibCurl, Allegro 5 and Qt 5.5)
cmake .
make