Re: Newb question about calling Scheme from Java

"Mike J. Bell" <[email protected]> Wed, 3 Sep 2008 07:59:40 -0400
Newsgroups gmane.comp.java.sisc.user
Message-ID <[email protected]>
--===============1871791962==
Content-Type: multipart/alternative; 
	boundary="----=_Part_23795_20859656.1220443180830"

------=_Part_23795_20859656.1220443180830
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

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

------=_Part_23795_20859656.1220443180830
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

<div dir="ltr">On Wed, Sep 3, 2008 at 7:47 AM, Norman Gray <span dir="ltr">&lt;<a href="mailto:[email protected]">[email protected]</a>&gt;</span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I define it in the script that provides the main logic for the servlet. &nbsp;Both that script, and the initialisation function to call are set in the webapp configuration file. &nbsp;That startup is in a class JettySchemeServer or TomcatSchemeServer, which you can look at in the project CVS at<br>

<br>
<a href="http://www.astrogrid.org/viewcvs/experiments/norman/quaestor/src/main/org/eurovotech/quaestor/" target="_blank">http://www.astrogrid.org/viewcvs/experiments/norman/quaestor/src/main/org/eurovotech/quaestor/</a><br>

<br>
The main application logic, if you&#39;re interested, is in src/main/scm/quaestor.scm</blockquote><div><br><br>Awesome, thanks Norman.<br><br>Still, the question remains (for Scott or others):&nbsp; what&#39;s the right way to insert a top-level define in the environment of the interpreter from the Java-side?<br clear="all">
</div></div><br>-- <br>Mike J. Bell on gmail<br>
</div>

------=_Part_23795_20859656.1220443180830--


--===============1871791962==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

-------------------------------------------------------------------------
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=/
--===============1871791962==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Sisc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sisc-users

--===============1871791962==--