TOP
QoLang Logo

QoLang

The Qo Programming Language is a simple language with simple syntax.

/*
Printing in QoLang.
*/

println("Hello, world!");

About QoLang

The Qo Programming Language (or shortly, QoLang) is a new interpreted language with a simple syntax.
A simple example:
      
include types;  
myinteger = types.toInt(input("Enter an integer: "));
println(myinteger, "% 2 ==", myinteger % 2);
      
    
QoLang is a pretty new language, with too few contributors, so it may have some bugs. If you notice something is wrong with QoLang, please create an issue in GitHub.

Installation

GNU/Linux and Microsoft Windows

Use the installer.

Alternative way for Microsoft Windows

  1. Download the binary from here:
  2. Create a directory called qolang under C:\, then copy the executable file you just downloaded to that folder.
    Note: Don't download both files and copy them to that folder. Download only the qo.exe file because .exe files are the executable files for Windows.
  3. Create a directory called libs under C:\qolang\, then copy all files in libs directory to that folder.
    Note: Don't save it by right clicking at the page and clicking "Save as...", click the "Raw" button and save that page instead.
  4. Run cmd.exe as Administrator, and run setx PATH "%PATH%;C:\qolang"
To test it, create a file called test.qo and write the following code in it:
        
println("Hello, world!");
        
      
After saving the file, copy the path the file is in, eg. C:\Users\user. Press Windows Key + R and type cmd, type cd (with the space after cd) and click right mouse button the paste the clipboard content, and press Enter. Now you can run your file, to do it run qo test.qo
Note: This guide was not tested, and there may be mistakes. If you notice something that shouldn't be, please contact us.

Other

QoLang currently doesn't have support for other operating systems, so you need a GNU/Linux virtual machine (or WSL on Windows) to run QoLang.