https://github.com/extism/verified-count-vowels
https://github.com/extism/verified-count-vowels
Last synced: 5 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/extism/verified-count-vowels
- Owner: extism
- License: other
- Created: 2023-07-27T23:56:31.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-09-29T18:40:10.000Z (almost 3 years ago)
- Last Synced: 2025-07-26T18:43:36.631Z (about 1 year ago)
- Language: Coq
- Size: 1.18 MB
- Stars: 8
- Watchers: 6
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# verified-count-vowels
A formally verified Extism `count_vowels` implementation in Coq, extracted to Haskell
The Coq source can be found in [CountVowels.v](./CountVowels.v), during the build process the code is extracted to
[src/CountVowels.hs](./src/CountVowels.hs).
## Building
You will need [wasm32-wasi-ghc](https://gitlab.haskell.org/ghc/ghc-wasm-meta), then:
```shell
$ make build
```
## Testing
```shell
$ make test
```