#scheme #s-expr #format

nightly app schemat

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

44 releases

Uses new Rust 2024

new 0.3.2 Apr 9, 2025
0.3.1 Mar 8, 2025
0.3.0 Feb 4, 2025
0.2.11 Oct 24, 2024
0.1.16 Jul 21, 2023

#111 in Text processing

Download history 17/week @ 2024-12-14 5/week @ 2024-12-21 30/week @ 2024-12-28 14/week @ 2025-01-04 282/week @ 2025-01-11 81/week @ 2025-01-18 17/week @ 2025-01-25 226/week @ 2025-02-01 43/week @ 2025-02-08 22/week @ 2025-02-15 7/week @ 2025-02-22 21/week @ 2025-03-01 144/week @ 2025-03-08 12/week @ 2025-03-15 13/week @ 2025-03-22 1/week @ 2025-03-29

171 downloads per month

Unlicense

120KB
3.5K SLoC

schemat

GitHub Action Crate License

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

Dependencies

~6–14MB
~168K SLoC