The official zeta compiler

Overview

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

  1. 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
  1. 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)

Discord

Doubts? join our discord server

You might also like...
An optimising Brainf*ck to x86-64 assembly compiler written in Rust

brainfrsk 2 An optimising Brainf*ck to x86-64 assembly compiler. This compiler can produce optimised binaries for macOS (Sytem V calling convention) b

Compiler from a lisp-like language to mlog

slimlog slimlog compiles a lisp-like language to mlog Architecture slimlog is divided into three distinct parts Parser Parses the source file Compiler

Compiler & Interpreter for the (rather new and very experimental) Y programming language.

Y Lang Why would anyone build a new (and rather experimental) language with no real world use case. Design Y (pronounced as why) is based on the idea

A transpiler/compiler for CrabRave, a version of BrainFuck with sea-life emojis.
A transpiler/compiler for CrabRave, a version of BrainFuck with sea-life emojis.

CrabRave Programming Language CrabRave is a fun and unique programming language based on Brainfuck, which utilizes crab and sea-life emojis as its syn

The official zeta compiler
The official zeta compiler

Zeta What makes Zeta the goto language for creating CLI's? Smaller Executables Inbuilt argument and flag parser Your path seperators are automatically

Making composability with the Zeta DEX a breeze, FuZe provides CPI interfaces and sample implementations for on-chain program integration.
Making composability with the Zeta DEX a breeze, FuZe provides CPI interfaces and sample implementations for on-chain program integration.

Zeta FuZe ๐Ÿงฌ Zeta FuZe FuZe is Zeta's cross-program integration ecosystem. This repository contains the Zeta Cross Program Invocation (CPI) interface

The official torq compiler
The official torq compiler

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

Rust lib for fetching official protoc (Protocol Buffer compiler) releases

protoc-fetcher Rust library for fetching official Protocol Buffer compiler (protoc) releases, pegged to a specific version. protoc-fetcher downloads a

C-like language compiler, the final project of ZJU Compiler Principle course
C-like language compiler, the final project of ZJU Compiler Principle course

cc99 cc99 (not cc98.org) is a C-like language compiler, which is the final project of ZJU Compiler Principle course. It supports many of the C99 langu

Official Rust implementation of the Nimiq protocol
Official Rust implementation of the Nimiq protocol

Nimiq Core implementation in Rust (core-rs) Rust implementation of the Nimiq Blockchain Core Nimiq is a frictionless payment protocol for the web. Thi

Official implementation of the YeeCo Root Chain (Layer 1)
Official implementation of the YeeCo Root Chain (Layer 1)

yeeroot Official implementation of the YeeCo Root Chain (Layer 1) YeeCo is a permissionless, secure, high performance and scalable public blockchain p

docker-rust โ€” the official Rust Docker image

About this Repo This is the Git repo of the Docker official image for rust. See the Docker Hub page for the full readme on how to use this Docker imag

The official Sublime Text 3 package for the Rust Programming Language
The official Sublime Text 3 package for the Rust Programming Language

Rust Enhanced About This is a Sublime Text 3 package which supports Rust starting with version 1.0, it makes no attempt at supporting earlier incompat

The official MongoDB Rust Driver

MongoDB Rust Driver This repository contains the officially supported MongoDB Rust driver, a client side library that can be used to interact with Mon

Official Rust implementation of Apache Arrow

Native Rust implementation of Apache Arrow Welcome to the implementation of Arrow, the popular in-memory columnar format, in Rust. This part of the Ar

Official Rust implementation of the Nimiq protocol
Official Rust implementation of the Nimiq protocol

Nimiq Core implementation in Rust (core-rs) Rust implementation of the Nimiq Blockchain Core Nimiq is a frictionless payment protocol for the web. Thi

Official implementation of the YeeCo Root Chain (Layer 1)
Official implementation of the YeeCo Root Chain (Layer 1)

yeeroot Official implementation of the YeeCo Root Chain (Layer 1) YeeCo is a permissionless, secure, high performance and scalable public blockchain p

Official Skytable client driver for Rust

Skytable client Introduction This library is the official client for the free and open-source NoSQL database Skytable. First, go ahead and install Sky

Comments
  • style: fix lint warnings

    style: fix lint warnings

    Notes:

    • I just changed the flags variable name to _flags to suppress the warning because I figured that someone was probably going to still be using it a some point.
    • I renamed the isasync Function property to is_async and returnType to return_type because a) that's a heck of a lot more readable and b) we should keep the snake case variable/struct property style consistent across the code in Rust.
    • Some of the variables were mutable which wasn't actually required so this got rid of some warnings.
    opened by sno2 0
  • fix(compat): convert invalid `into` into a cast

    fix(compat): convert invalid `into` into a cast

    It wasn't working on Windows PowerShell with the Rustup v1.50.0 toolkit. This fixed it. Here was the stack trace:

    error[E0277]: the trait bound `u64: From<char>` is not satisfied
      --> src\lexer\tokenizer.rs:39:64
       |
    39 |                 '`' => tokens.push(Token::Literal(Value::MLStr(c.into()))),
       |                                                                ^^^^^^^^ the trait `From<char>` is not 
    implemented for `u64`
       |
       = help: the following implementations were found:
                 <u64 as From<NonZeroU64>>
                 <u64 as From<bool>>
                 <u64 as From<u32>>
                 <u64 as From<u8>>
       = note: required because of the requirements on the impl of `Into<u64>` for `char`
    
    error: aborting due to previous error
    
    For more information about this error, try `rustc --explain E0277`.
    

    Perhaps you were using nightly or the latest stable version has this implemented.

    opened by sno2 0
Owner
ZetaLang
Making the CLI better for the layman.
ZetaLang
The official programming language of the Hasso Plattner Institute.

Die HPI Programmiersprache Die offizielle Programmiersprache des HPI. Anmerkung: Dieses Projekt soll niemanden beleidigen oder bloรŸstellen, alles bitt

null 7 Oct 22, 2023
dm-jitaux is a Rust-based JIT compiler using modified auxtools, dmasm and Inkwell LLVM wrapper for boosting Byond DM performance without any hassle!

dm-jitaux is a Rust-based JIT compiler using modified auxtools, dmasm and Inkwell LLVM wrapper for boosting Byond DM performance without any hassle (such as rewriting/refactroing your DM code).

SS220 20 Dec 13, 2022
The nightly_crimes!{} macro commits horrible crimes to allow you to enable nightly features on the stable compiler.

The nightly_crimes!{} macro commits horrible crimes to allow you to enable nightly features on the stable compiler.

Mara Bos 151 Dec 16, 2022
An example of Brainf*** JIT-compiler with only the standard library.

jit-compiler An example of Brainf*** JIT-compiler with only the standard library. Prerequisite Rust(1.56.0-nightly or later, but it must work kind of

Akihito KIRISAKI 18 Jan 22, 2022
A compiler for the esoteric language โ„‚.

The โ„‚ Programming Language It's a language where the only types are "complex number" and "matrix of complex numbers". In particular, this means you ca

Eleanor McMurtry 24 Jul 15, 2022
Solidity-Compiler Version Manager

Solidity Compiler Version Manager

Rohit Narurkar 114 Jan 2, 2023
A compiler for a language representing plonk circuits

Plang A language representing PLONK circuits. Compiler This repository contains a compiler for a language representing PLONK circuits. It allows circu

Dusk Network 1 Nov 6, 2021
A fusion of OTP lib/dialyzer + lib/compiler for regular Erlang with type inference

Typed ERLC The Problem I have a dream, that one day there will be an Erlang compiler, which will generate high quality type-correct code from deduced

Dmytro Lytovchenko 35 Sep 5, 2022
Use explicit container types with Scrypto! Leverage the Rust compiler's type checking to increase security and productivity when developing Radix blueprints.

Scrypto Static Types Use explicit container types with Scrypto! Leverage the Rust compiler's type checking to increase security and productivity when

null 7 Aug 5, 2022
JIT compiler and runtime for a toy language, using Cranelift

Hello! This is a simple demo that JIT-compiles a toy language, using Cranelift. It uses the new JIT interface in development here. JIT takes care of m

Bytecode Alliance 468 Jan 7, 2023