Re: FreeMarker, ANTLR & New FreeMarker Template Notations [was: JetBrains / IntelliJ IDEA v8 to Support FreeMarker!]
Daniel Lopez <[email protected]>
| Newsgroups | gmane.comp.web.freemarker.user |
|---|---|
| Message-ID | <[email protected]> |
Yeah, sorry for not being too clear. By "it", I meant Scheme. The "standardised" way would be using the Java 6 Scripting API and and a JSR-223 compliant engine to run your Scheme scripts. The only JSR-223 implementation I know for scheme is the one provided here: https://scripting.dev.java.net/, which uses SISC under the cover, but that's the one I found be very buggy and unreliable. By "directly" I meant using SISC the way it is used standalone, as described here: http://sisc-scheme.org/manual/html/ch02.html#running-sisc, for example, or here: http://sisc-scheme.org/manual/html/ch08.html#JavaToScheme. I can't say anything about either way, as I have never used it. As I did not try SISC directly, my goal was to test JSR-223 implementations, not learning Scheme, it might be that the one to blame for the buggy behaviour I experimented was SISC and not the scripting engine, but the look I had at the scripting engine code and the behaviour exhibited in very simple tests suggest otherwise. So, what I meant is that unless you want to be able to later on swap Scheme with another scripting language and you can find/provide an alternative JSR-223 comliant implementation, I would avoid the Java 6 Scripting API route to execute Scheme from Java. S! D. S'està citant Randall R Schulz <[email protected]>: > On Thursday 03 April 2008 01:29, Daniel López wrote: >> ... >> >> So if you want to use it, you might want to use it directly instead >> of through the now-standardised way. > > By "it" do you mean Scheme? If so, what is the "now-standardised" way > and what is "directly?" > > >> S! >> D. >> >> Randall R Schulz escribió: >> ... >> >> > I keep trying to use Scheme macros, but they have limitations that >> > continue to block my attempts. One reason I'm looking at Scheme is >> > that there is a Java-embeddable Scheme implementation called SISC >> > (<http://sisc-scheme.org/>). > > > Randall Schulz > ---------------------------------------------------------------- ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace