story
Maybe a gem with a C component could provide a hook?
https://github.com/seattlerb/sexp_processor