#s-expression #sexp #sexpr #parser #tree-sitter

rsexpr

Small and simple S-expression parsing and manipulation with support for square-bracketed groups and strings

8 releases

0.2.5 Jul 30, 2023
0.2.4 Jul 28, 2023
0.2.3 May 26, 2023
0.1.1 May 23, 2023

#1019 in Parser implementations

Download history 34/week @ 2023-11-06 34/week @ 2023-11-13 33/week @ 2023-11-20 41/week @ 2023-11-27 16/week @ 2023-12-04 20/week @ 2023-12-11 12/week @ 2023-12-18 27/week @ 2023-12-25 15/week @ 2024-01-01 17/week @ 2024-01-08 11/week @ 2024-01-15 28/week @ 2024-01-22 22/week @ 2024-01-29 14/week @ 2024-02-05 50/week @ 2024-02-12 177/week @ 2024-02-19

263 downloads per month
Used in 3 crates (2 directly)

GPL-3.0-only

36KB
837 lines

rsexpr

Small and simple S-expression parsing and manipulation with support for square-bracketed groups and strings. Used by syntastica for processing tree-sitter queries.


lib.rs:

rsexpr

Small and simple S-expression parsing and manipulation with support for square-bracketed groups and strings. Used by syntastica for processing tree-sitter queries.

Have a look at Sexpr, OwnedSexpr, from_slice, and from_slice_multi for more information.

Dependencies

~0.3–0.8MB
~19K SLoC