37 releases
0.2.11 | Oct 24, 2024 |
---|---|
0.2.9 | Feb 4, 2024 |
0.1.21 | Oct 3, 2023 |
0.1.16 | Jul 21, 2023 |
#190 in Parser implementations
170 downloads per month
120KB
3.5K
SLoC
schemat
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.
Install
cargo +nightly install schemat
Usage
schemat < in.scm > out.scm
License
Dependencies
~5–14MB
~169K SLoC