added very minimal repl
refactored ast generator to be a little clearer
added documentation for the 'from-sexprs' function