compiles simple expressions to triples encoded as s-expressions