Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bgamari/the-thoralf-plugin
This a type-checker plugin to rule all type checker plugins involving type-equality reasoning using smt solvers.
https://github.com/bgamari/the-thoralf-plugin
ghc haskell smt typechecker-plugin
Last synced: 9 days ago
JSON representation
This a type-checker plugin to rule all type checker plugins involving type-equality reasoning using smt solvers.
- Host: GitHub
- URL: https://github.com/bgamari/the-thoralf-plugin
- Owner: bgamari
- License: mit
- Created: 2018-06-08T20:26:30.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2022-01-31T17:51:32.000Z (almost 3 years ago)
- Last Synced: 2024-10-14T22:14:51.921Z (23 days ago)
- Topics: ghc, haskell, smt, typechecker-plugin
- Language: Haskell
- Size: 139 KB
- Stars: 22
- Watchers: 6
- Forks: 6
- Open Issues: 12
-
Metadata Files:
- Readme: README.md
- Changelog: ChangeLog.md
- License: LICENSE
Awesome Lists containing this project
README
# the-thoralf-plugin
[![Build Status](https://travis-ci.org/bgamari/the-thoralf-plugin.svg)](https://travis-ci.org/bgamari/the-thoralf-plugin)
This a type-checker plugin for type-indicies such as type level natural
numbers and type level finite maps.## Setup
You need
* Stack
* Z3 (the smt solver) version 4.5 and above.
- [The github repo has instructions](https://github.com/Z3Prover/z3)To build simply
```bash
$ git clone [email protected]:Divesh-Otwani/the-thoralf-plugin.git
$ cd the-thoralf-plugin
$ stack install
$ echo "Now the example should load or run!"
$ stack ghci test/Main.hsLoaded GHCi configuration from /home/divesh/.ghc/ghci.conf
[1 of 1] Compiling Main ( test/Main.hs, interpreted )
Ok, 1 module loaded.
*Main>```
## Usage
* See [DOCUMENTATION.md](DOCUMENTATION.md) for how to extend thoralf
and make your own plugin with all of thoralf's theories and some new
ones you write.