schemat

Code formatter for Scheme, Lisp, and any S-expressions

UNLICENSE License

Downloads
18.2K
Stars
19
Committers
3

schemat

A code formatter for Scheme, Lisp, and any S-expressions.

It supports:

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

Install

cargo +nightly install schemat

Usage

schemat < in.scm > out.scm

License

The Unlicense