@qupa/qupa

0.0.3 • Public • Published

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.

Unix On unix installation is quite easy. Just run the two lines below in your terminal
sudo apt-get npmsudo 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
-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

Readme

Keywords

none

Package Sidebar

Install

npm i @qupa/qupa

Weekly Downloads

0

Version

0.0.3

License

MIT

Unpacked Size

1.13 MB

Total Files

75

Last publish

Collaborators

  • hobgoblin101