9 releases

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

#301 in Programming languages

Download history 15/week @ 2023-10-28 4/week @ 2023-11-04 2/week @ 2023-11-11 1/week @ 2023-11-18 20/week @ 2023-11-25 37/week @ 2023-12-02 9/week @ 2023-12-16 18/week @ 2023-12-23 9/week @ 2024-01-06 5/week @ 2024-01-13 16/week @ 2024-01-20 18/week @ 2024-01-27 46/week @ 2024-02-10

83 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

~107MB
~2M SLoC