var repl = require("repl"); var lisp = require("./lisp").lisp; repl.start({ prompt: "* ", eval: function (cmd, context, filename, callback) { var ret = lisp.run(cmd); callback(null, ret); }, });