Skip to content

Building auto format commands for custom languages, dsl configs, etc.

License

MIT, Unknown licenses found

Licenses found

MIT
LICENSE
Unknown
COPYING.HEADER
Notifications You must be signed in to change notification settings

mbarbin/auto-format

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

161 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

auto-format

CI Status Coverage Status

With this opinionated library you can build normalized auto-format commands for custom languages, that can be integrated with editors as well as dune fmt.

Code Documentation

The code documentation of the latest release is built with odoc and published to GitHub pages here.

Examples & tests

The example/ contains the implementation of a toy key=value config language, which includes a parser, a pretty-printer and auto-fmt utils built with the library.

You can see examples of cli usage in example/test/run.t, and an example of dune fmt integration in example/test/dune.

See Also

This library is extensively used and tested in the bopkit project.

About

Building auto format commands for custom languages, dsl configs, etc.

Topics

Resources

License

MIT, Unknown licenses found

Licenses found

MIT
LICENSE
Unknown
COPYING.HEADER

Code of conduct

Stars

Watchers

Forks

Packages

No packages published