1 2 3 4 5 6 7 8 9 10
$LOAD_PATH << "./lib" require "sexp/lex" require "sexp/parse" input = "(def foo (+ 7 4)) (display foo)" tokens = lex_tokens(input) sexps = parse_sexps(tokens) puts sexps