A code formatter for Scheme, Lisp, and any S-expressions.
It supports:
- S-expressions
- Parenthesis:
(
and)
- Brackets:
[
and]
- Braces:
{
and}
- Parenthesis:
- Comments: Lines starting with
;
- Quotes:
'
,`
, and,
- Hash directives
- Shebang (e.g.
#!/usr/bin/env gsi
) - Language shorthand in Racket (e.g.
#lang racket
)
- Shebang (e.g.
cargo +nightly install schemat
schemat < in.scm > out.scm