A compiled programming language based around having individual queues for each thread allowing event and callback driven multithreading behaviour.
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 terminalsudo 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 hereOnce that is done, simply run these lines in the folder and now all required files are prepared for your system
npm install @qupa/qupa
Once you have followed the setup, NPM has registered qupa
as a command that can be used to compile with.
qupa {entry_file}
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 |