9 releases

0.3.0 May 8, 2021
0.2.4 Mar 27, 2021
0.1.2 Mar 21, 2021

#582 in Programming languages

28 downloads per month

MIT license

115KB
2.5K SLoC

Rust 2K SLoC // 0.0% comments C 530 SLoC C++ 19 SLoC JavaScript 1 SLoC

Quench CI crates.io docs.rs rustc version

A programming language.

Installation

Linux

curl -o quench -L https://github.com/quench-lang/quench/releases/latest/download/quench-linux
chmod +x quench
sudo mv quench /usr/local/bin

macOS 10

curl -o quench -L https://github.com/quench-lang/quench/releases/latest/download/quench-macos
chmod +x quench
sudo mv quench /usr/local/bin

Windows

Save quench-windows.exe as quench.exe somewhere on your PATH.

Usage

Pass --help to the binary you just installed:

quench --help

You will see an example Quench program and instructions on how to run it.

Editors

Support (and instructions) for specific text editors can be found in the editors folder.

Development

Prerequisites

Basics

Clone this repo, cd into it, and run an example using cargo run:

cargo run -- run examples/hello.qn

Or if you want to use the #!/usr/bin/env quench shebang, first install:

cargo install --locked --path .

Then run the example directly:

examples/hello.qn

Other

If you want to modify the grammar, be sure to follow the instructions in the tree-sitter-quench folder.

License

This repository is released under the MIT License.

I am providing code in the repository to you under an open source license. Because this is my personal repository, the license you receive to my code is from me and not my employer (Facebook).

Dependencies

~112MB
~2.5M SLoC