720721722723724725726727728729730
= (SchemeInterpreter)manager.lookup(SchemeInterpreter.ROLE); Symbol mainFunction = interpreters.getMainFunction(); Interpreter interp = interpreters.getInterpreter(); try { return interp.eval(handler.getContent()); } finally { interpreters.releaseInterpreter(interp); } }
327328329330331332333334335336337
= (SchemeInterpreter)manager.lookup(SchemeInterpreter.ROLE); Interpreter interp = interpreters.getInterpreter(); Symbol sitemapParseFunction = interpreters.getSitemapParseFunction(); try { interp.eval((Procedure)interp.ctx.toplevel_env.lookup(sitemapParseFunction), args); } finally { interpreters.releaseInterpreter(interp); }
369370371372373374375376377378379
Symbol mainFunction = interpreters.getMainFunction(); Value result = sisc.Util.FALSE; try { result = interp.eval((Procedure)interp.ctx.toplevel_env.lookup(mainFunction), args); } finally { interpreters.releaseInterpreter(interp); }
150151152153154155156157158159160
// Evaluate the init expression, discard the returned value and // any exception thrown try { if (initExpression != null && !initExpression.equals("")) interp.eval(initExpression); } catch (Exception ex) { System.out.println("Exception evaluating the init expression: " + ex); }
118119120121122123124125126127128
} System.out.println("executing '" + sbuf + "'"); Interpreter interp = getInterpreter(); out.println(interp.eval(sbuf.toString())); releaseInterpreter(interp); } catch (Exception ex) { out.println("ERROR: " + ex); throw new ServletException(ex);
245246247248249250251252253254255
287288289290291292293294295296297
100101102103104105106107108109110
6869707172737475767778
672673674675676677678679680681682