Re: Newb question about calling Scheme from Java
"Scott G. Miller" <[email protected]> Wed, 3 Sep 2008 09:09:20 -0500
| Newsgroups | gmane.comp.java.sisc.user |
|---|---|
| Message-ID | <[email protected]> |
Interpreter.define is still the most efficient way, so long as you use the right context. :) Scott On Wed, Sep 3, 2008 at 6:59 AM, Mike J. Bell <[email protected]> wrote: > On Wed, Sep 3, 2008 at 7:47 AM, Norman Gray <[email protected]> wrote: >> >> I define it in the script that provides the main logic for the servlet. >> Both that script, and the initialisation function to call are set in the >> webapp configuration file. That startup is in a class JettySchemeServer or >> TomcatSchemeServer, which you can look at in the project CVS at >> >> >> http://www.astrogrid.org/viewcvs/experiments/norman/quaestor/src/main/org/eurovotech/quaestor/ >> >> The main application logic, if you're interested, is in >> src/main/scm/quaestor.scm > > Awesome, thanks Norman. > > Still, the question remains (for Scott or others): what's the right way to > insert a top-level define in the environment of the interpreter from the > Java-side? > > -- > Mike J. Bell on gmail > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Sisc-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/sisc-users > > ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/