sexps-rewriterversion

A specialized file-rewriter for applying rewrites to sexp files

Sexps_rewriter is an OCaml library for applying small rewrites to tweak or refactor your S-expression (sexp) files.

It provides a convenient interface to apply surgical textual substitutions on the fly, while navigating the contents of a file through an API based on the visitor pattern.

This library was designed as part of ongoing work to create linting and refactoring tools for the many [dune] files found in large monorepos.

Tags codemods refactoring sexp-files
AuthorMathieu Barbin
LicenseApache-2.0
Published
Homepagehttps://github.com/mbarbin/file-rewriter
Issue Trackerhttps://github.com/mbarbin/file-rewriter/issues
MaintainerMathieu Barbin <opensource@mbarbin.org>
Dependencies
Source [http] https://github.com/mbarbin/file-rewriter/releases/download/0.0.3/file-rewriter-0.0.3.tbz
sha256=bcc2177b21daf06d379806045cab266ef9017968645dd8fb445594222e0f1d07
sha512=e7c546d98d1b0da412d63366cce777cc50a24f89c60ce9af67bb6698e6c12a620480daaefb5e186d6d5daf6143ac2b65a6f26a8daea0588055cfcfef90c13401
Edithttps://github.com/ocaml/opam-repository/tree/master/packages/sexps-rewriter/sexps-rewriter.0.0.3/opam
No package is dependent