Polarity
A language with dependent data and codata types
Install / Use
/learn @polarity-lang/PolarityREADME
Community
Feel welcome to join our Discord server.
Quickstart
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:
- Install a Rust toolchain using rustup.rs.
- Clone the repository on your machine:
git clone https://github.com/polarity-lang/polarity.git - To locally install the executable, run:
The binarymake installpolgets installed to~/.cargo/bin/pol; make sure that this directory is in your$PATH. - From the root of this repository, run:
$ pol run --normalize examples/example.pol S(S(S(S(S(Z))))) - For more information about available subcommands, run:
pol --help
Contributing
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.
Licenses
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.
Related Skills
node-connect
353.3kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
111.7kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
353.3kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
353.3kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
