[antlr-interest] ANTLR input and output
evanpmeth at gmail.com
Wed Oct 14 15:42:55 PDT 2009
Not exactly sure what you are trying to ask, but ill take a stab at
it. Im not sure what Sun's JS94 Standard is? Im guessing it has to do
with some sort of data traversal techniques. But I am unclear how
ANTLR relates, except for the fact that antlr could probably be used
to re-write this JS94 standard the way you want.
>How do I get values in and out of the script from my Java code.
Im not sure on this one either, This script you are talking about is
presumably ANTLR itself or what you created in ANTLR?
ANTLR's output can be in any of the target languages you want: java,
So if your writing your "program" in Java it can easily be
incorporated. This is because the code generated from the grammar
files by ANTLR is written in the TARGET language you desire.
On Wed, Oct 14, 2009 at 12:27 PM, <tmarcoe at comcast.net> wrote:
> I am a bit new to ANTLR (I love it by the way) so if this is an obvious
> question, forgive me in advance.
> I am in the process of writing a rule engine. I know that Sun came up with
> the JS94 standard but I have some ideas to enhance that standard. In order
> to do this, I'm using ANTLR for the rule definition language, which brings
> me to my question.
> How do I get values in and out of the script from my Java code. I do have a
> way to do this but I didn't want to reinvent the wheel, if there is already
> something in place to do this. I thought I remembered something in the
> documentation but I can't seem to find it now.
> Tim -
> List: http://www.antlr.org/mailman/listinfo/antlr-interest
More information about the antlr-interest