Skip to content

toku-sa-n/coqfmt

Repository files navigation

Coqfmt

A command line tool to format your Coq source code.

Installation

Clone this repository and build using opam. You need dune. This package is not available in the OPAM repository (yet).

git clone https://github.com/toku-sa-n/coqfmt
cd coqfmt
opam install .

Usage

Just input your Coq code from stdin. Coqfmt will print the formatted code to stdout.

See coqfmt --help for more detail.

Don't like the formatted code?

Open an issue, please! We're still figuring out what the best style is.

License

Copyright (C) 2023 Hiroki Tokunaga

This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.

You should have received a copy of the GNU Affero General Public License along with this program. If not, see https://www.gnu.org/licenses/.

This project uses source code from Logical Foundations, and its license file is LICENSE_LF.

About

Coq code formatter

Resources

License

AGPL-3.0, MIT licenses found

Licenses found

AGPL-3.0
LICENSE
MIT
LICENSE_LF

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

No packages published

Languages