indent-s-expr

Crates.ioindent-s-expr
lib.rsindent-s-expr
version1.0.1
sourcesrc
created_at2024-02-21 18:13:22.697367
updated_at2024-02-21 18:20:20.541802
descriptionDumb-as-rocks S-expression indenter
homepage
repositoryhttps://github.com/rmvermeulen/indent-s-expr.git
max_upload_size
id1148339
size33,221
Rasmus (rmvermeulen)

documentation

README

indent-s-expr

Dumb-as-rocks S-expression indenter.

Example

use indent_s_expr::indent_sexp;

indent_sexp("(+ (alpha / beta) (gamma * delta))", 2);
/*

(
  +
  (
    alpha
    /
    beta
  )
  (
    gamma
    *
    delta
  )
)

*/
Commit count: 0

cargo fmt