Skip to content
This repository has been archived by the owner on Apr 25, 2021. It is now read-only.

qupa-project/Qupa

Repository files navigation

Qupa

Compilation

A compiled programming language based around having individual queues for each thread allowing event and callback driven multithreading behaviour.

Setup

First you need do install Clang and NPM, both of which are operating system specific.

Unix On unix installation is quite easy. Just run the two lines below in your terminal
sudo apt-get npm
sudo apt-get clang++
Windows First simply install NodeJS from nodejs.dev, then you need to install clang. To install Clang one Windows you need to have MSVC installed first - to do this follow this guide, then once MSVC is installed you can simply download the pre-built binary for you computer from here

Once that is done, simply run these lines in the folder and now all required files are prepared for your system

npm install @qupa/qupa

CLI Ussage

Once you have followed the setup, NPM has registered qupa as a command that can be used to compile with.

qupa {entry_file}

Flags

Flag Description
-o {name} Specify the output filename from the compiler
--execute Run the compiled binary produced (if any)
--version Will log out the current version number of the compiler
-S Compile to human readable assembly rather than executable
--llvm Compile to human readable LLVM-IR rather than executable

Releases

No releases published

Languages