You can add this lib as a dependency:
[dependencies]
tree-sitter-sexp = { git = "https://github.com/AbstractMachinesLab/tree-sitter-sexp" }
And then you can parse strings with the Sexp
struct like this:
let sexprs = Sexp::of_str("(hello (world))")?;
sexprs.to_string();
// (hello (world))