28 releases

0.2.6 Sep 21, 2020
0.2.5 Nov 26, 2019
0.2.4 Oct 23, 2019
0.0.14 Jul 11, 2019
0.0.1 Mar 30, 2019

#146 in Programming languages

Download history 3/week @ 2024-02-11 18/week @ 2024-02-18 216/week @ 2024-02-25

237 downloads per month

Apache-2.0

250KB
5K SLoC

Rust 4K SLoC // 0.2% comments Pest 449 SLoC // 0.1% comments Perl 64 SLoC Shell 6 SLoC // 0.2% comments Batch 3 SLoC

voile-rs

Crates.io Crates.io Crates.io docs.rs Actions Status dep-svg

Voile is a dependently-typed programming language with a non-dependent version of row-polymorphism, meta variable resolution and implicit parameter syntax. For language description, please head to the docs.rs page.

Voile is the language after minitt, and the next language after Voile is Narc.

Resources

  • Docs.rs documentation, including KaTeX-rendered typing rules
  • Change Log, useful resource for tracking language evolution
  • IntelliJ Plugin, which can export your code as clickable HTML
  • Code Examples, which also acts as integration test suites
  • Utilities Library, a rust crate extracted from Voile's implementation with some util codes
  • Binary Download on GitHub Actions page for Windows, Ubuntu and macOS

The most good-looking example is this one.

Install

The most recommended way of installation is to download the prebuilt binaries from GitHub Actions page. Here's how to find them.

You can install the voile type-checker by this command (cargo installation and rust stable toolchain are assumed):

cargo install voile --bin voilec

After installation, you can type-check a voile file by:

voilec [filename]

You can also start a REPL:

voilec -i

Progress

  • Basic dependent type (minitt-rs things)
  • Universe level support
  • Row-types and kinds
  • Record constructor
  • Record projection
  • Variant constructor
  • Variant eliminator (case-split)
  • Implicit arguments

Dependencies

~2.2–4MB
~72K SLoC