sexpfmt 0.2.0

A command-line tool to format S-expressions
1
2
3
4
5
6
7
8
9
10
11
12
13
#[derive(Clone, Debug, PartialEq, Eq)]
pub enum SExp {
	List(Vec<SExp>, SExpBookendStyle),
	Atom(String),
	Null(SExpBookendStyle),
}

#[derive(Clone, Copy, PartialEq, Eq, Debug)]
pub enum SExpBookendStyle {
	Parentheses,
	SquareBrackets,
	CurlyBraces,
}