package sexps-rewriter

  1. Overview
  2. No Docs
A specialized file-rewriter for applying rewrites to sexp files

Install

Dune Dependency

Authors

Maintainers

Sources

file-rewriter-0.0.3.tbz
sha256=bcc2177b21daf06d379806045cab266ef9017968645dd8fb445594222e0f1d07
sha512=e7c546d98d1b0da412d63366cce777cc50a24f89c60ce9af67bb6698e6c12a620480daaefb5e186d6d5daf6143ac2b65a6f26a8daea0588055cfcfef90c13401

Description

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

Published: 30 Sep 2024

Dependencies (7)

  1. sexplib0 >= "v0.17" & < "v0.18"
  2. parsexp >= "v0.17" & < "v0.18"
  3. loc >= "0.2.0"
  4. fpath >= "0.7.3"
  5. file-rewriter = version
  6. ocaml >= "5.2"
  7. dune >= "3.16"

Dev Dependencies (1)

  1. odoc with-doc

Used by

None

Conflicts

None

OCaml

Innovation. Community. Security.