Torq
What makes Torq the goto language for creating CLI's?
- Smaller Executables
- Inbuilt argument and flag parser
- Your code will work anywhere in any OS
- Fast and by fast we mean Lightning fast
- Better error handling
- We only show errors which the user understands
- Rich standard library
- Memory safety is guaranteed with no slow downs in your code
Installation
Here are some guides on how to install torqc
onto your local machine.
Install via Cargo
- Clone and navigate into the project in some way onto your local machine. Here is how you can do it via Git:
> git clone https://github.com/torq-lang/torqc
> cd torqc
- Install and build the
torqc
binary via the following command.
> cargo install --path cli
After that, you should be able to run torqc --version
to get the current version of torqc
that you have installed. If that does not work, we advise joining our Discord and asking for help in there.
Credits
- CREDITS.md is still being created for now check Cargo.toml
- We use the code from volt-package-manager for the basic CLI parser (compiler)