#format #scheme

nightly app schemat

Scheme formatter

21 releases

0.1.21 Oct 3, 2023
0.1.20 Sep 21, 2023
0.1.18 Aug 27, 2023
0.1.16 Jul 21, 2023

#354 in Parser implementations

Download history 24/week @ 2023-08-02 36/week @ 2023-08-09 17/week @ 2023-08-16 36/week @ 2023-08-23 6/week @ 2023-08-30 4/week @ 2023-09-06 18/week @ 2023-09-13 47/week @ 2023-09-20 45/week @ 2023-09-27 5/week @ 2023-10-04 1/week @ 2023-10-11 16/week @ 2023-10-18 5/week @ 2023-10-25 21/week @ 2023-11-01 4/week @ 2023-11-08 27/week @ 2023-11-15

59 downloads per month

Unlicense

69KB
2K SLoC

schemat

GitHub Action Crate License

Scheme formatter written in Rust

It supports:

  • S-expressions
    • Parenthesis: ( and )
    • Brackets: [ and ]
    • Braces: { and }
  • Comments
  • Quotes: ', `, and ,
  • Hash directives
    • Shebang (e.g. #!/usr/bin/env gsi)
    • Language shorthand in Racket (e.g. #lang racket)

Install

cargo install schemat

Usage

schemat < in.scm > out.scm

License

The Unlicense

Dependencies

~1.5MB
~22K SLoC