This version is tested using macOS Catalina (version 10.15)
Using HTTP
git clone http://github.com/ring-lang/ring.git
Or using SSH
git clone git@github.com:ring-lang/ring.git
Install homebrew (follow the directions on homebrew's homepage).
cd ring/build
./installdepmac.sh
This will build everything
cd ring/build
./buildclang.sh
cd ring/bin
sudo ./install.sh
ringpm run ringnotepad
./buildclang.sh
cd ring/tools/ring2exe
sudo ./build.sh
cd ring/extensions/ringconsolecolors
./gencode.sh
./buildclang.sh
cd ring/extensions/ringinternet
./buildclang.sh
cd ring/extensions/ringcurl
./gencode.sh
./buildclang.sh
cd ring/extensions/ringzip
./gencode.sh
./buildclang.sh
cd ring/tools/ringpm
sudo ./build.sh
cd ring/tools/ringrepl
sudo ./build.sh
cd ring/tools/folder2qrc
sudo ./build.sh
cd ../extensions/ringodbc
./buildclang.sh
cd ring/extensions/ringmysql
./buildclang.sh
cd ring/extensions/ringsqlite
./buildclang.sh
cd ring/extensions/ringpostgresql
./gencode.sh
./buildclang.sh
cd ring/extensions/ringopenssl
./buildclang.sh
cd ring/extensions/ringmurmurhash
./buildclang.sh
cd ring/extensions/ringallegro
./gencode.sh
./buildclang.sh
cd ring/extensions/ringlibuv
./gencode.sh
./buildclang.sh
cd ring/extensions/ringfreeglut
./gencode.sh
./buildclang.sh
The ringopengl folder contains many sub folders for different OpenGL versions Starting from OpenGL 1.1 to OpenGL 4.6
cd ring/extensions/ringopengl/opengl21
./gencode.sh
./buildclang.sh
cd ring/extensions/ringqt
./gencode_light.sh
./buildclang_light.sh
./gencode.sh
./buildclang.sh
cd ring/bin
sudo ./install.sh
ringpm run ringnotepad
The previous steps demonstrates building Ring and some of the Ring extensions.
There are more extensions in ring/extensions folder like RingCJSON, RingHTTPLib, etc.