0.0.3 • Published 4 years ago
@qupa/qupa v0.0.3
Qupa
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.
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 |
---|---|
-S {llvm?} | The flag specifies not to build a binary, if optional term llvm is entered it will only output LLVM-IR, otherwise it will output the assembly of the target platform |
-o {file} | Specify the output filename from the compiler |
--no-caching | Specifies that the compiler should not reuse values cached in registers, and should instead reload any reference values each time they are used |
--execute | Specifies that the compiler should not reuse values cached in registers, and should instead reload any reference values each time they are used |
-v | Will log out the current version number of the compiler |