A language with dependent data and codata types
See the code
A programming language with dependent data and codata types.
Feel welcome to join our Discord server.
Before installing anything on your machine you can try out polarity in the browser on polarity-lang.github.io. The website also contains complete installation instructions, language documentation and a guide on how to configure editor support using our language server. If you want to install polarity locally on your system then you can use the nix setup documented here, or follow these steps:
git clone https://github.com/polarity-lang/polarity.git
make install
The binary pol gets installed to ~/.cargo/bin/pol; make sure that this directory is in your $PATH.$ pol run --normalize examples/example.pol
S(S(S(S(S(Z)))))
pol --help
Pull requests, bug reports and feature requests are highly welcomed and encouraged! If you want to contribute yourself, understand the code, or run the testsuite, then you can find more developer-focused documentation in the CONTRIBUTING.md.
This project is distributed under the terms of both the MIT license and the Apache License 2.0. See LICENSE-APACHE and LICENSE-MIT for details.
Rust
95.1%
TypeScript
3.1%
A language with dependent data and codata types
See the code
A programming language with dependent data and codata types.
Feel welcome to join our Discord server.
Before installing anything on your machine you can try out polarity in the browser on polarity-lang.github.io. The website also contains complete installation instructions, language documentation and a guide on how to configure editor support using our language server. If you want to install polarity locally on your system then you can use the nix setup documented here, or follow these steps:
git clone https://github.com/polarity-lang/polarity.git
make install
The binary pol gets installed to ~/.cargo/bin/pol; make sure that this directory is in your $PATH.$ pol run --normalize examples/example.pol
S(S(S(S(S(Z)))))
pol --help
Pull requests, bug reports and feature requests are highly welcomed and encouraged! If you want to contribute yourself, understand the code, or run the testsuite, then you can find more developer-focused documentation in the CONTRIBUTING.md.
This project is distributed under the terms of both the MIT license and the Apache License 2.0. See LICENSE-APACHE and LICENSE-MIT for details.
Rust
95.1%
TypeScript
3.1%