nar

Crates.ionar
lib.rsnar
version0.0.8
sourcesrc
created_at2019-09-09 05:44:01.801349
updated_at2020-01-18 18:45:14.001063
descriptionNarc, a dependently-typed programming language with dependent pattern matching
homepage
repositoryhttps://github.com/owo-lang/narc-rs
max_upload_size
id163447
size211,354
Tesla Zhang‮ (ice1000)

documentation

https://docs.rs/nar

README

narc-rs

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

Narc is a dependently-typed programming language with Agda style dependent pattern matching. It's called "Narc", but a rust crate narc has already been registered, thus the crate name is changed to nar and the compiler binary is therefore narc. For language description, please head to the docs.rs page.

Resources

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 narc type-checker by this command (cargo installation and rust stable toolchain are assumed):

cargo install nar --bin narc

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

narc [filename]

You can also start a REPL:

narc -i
Commit count: 322

cargo fmt