sfsexp

Library for parsing and manipulating S-expressions with C API

brewmacoslinux
Try with needOr install directly
Source

About

Small Fast S-Expression Library

Commands

sfsexp

Examples

Parse and pretty-print an S-expression from a file$ sfsexp < input.sexp
Use sfsexp as a library in C programs to parse S-expressions$ gcc -o parser parser.c $(pkg-config --cflags --libs sfsexp)
Validate S-expression syntax from stdin$ echo '(defun hello () (print "world"))' | sfsexp