[antlr-interest] Want to write a scripting language

raj sisodia raj.sisodia at impetus.co.in
Thu Jul 6 13:38:29 PDT 2006


Thanks Suman, but can you point me to specifics...

Thanks,
Raj Singh Sisodia

----- Original Message -----
From: "Suman Karumuri" <mansuk at gmail.com>
Date: Wednesday, July 5, 2006 4:31 am
Subject: Re: [antlr-interest] Want to write a scripting language

> Hi,
> 
> Look at a compiler text book or some online tutorials.
> The Unix programming environment, by Kernighan and Pike is a good
> place to start. Also look at the archives of comp.lang.compilers.
> 
> -Suman
> 
> On 6/29/06, raj sisodia <raj.sisodia at impetus.co.in> wrote:
> > Hi,
> >
> > I am new to antlr and I am writing a scripting language (in 
> antlr v3)
> > which looks similar to java, with simple loop commands, if 
> statement,> basic type, arrays etc. I am able to write the parser 
> (though facing
> > problem at the AST side but I'll figure that out).
> >
> > My problem is that, this script would be loosely coupled with 
> another> application written in java and I would like to use the 
> classes> written there. So in a way, my script won't allow the 
> user to
> > explicitly call classes but would itself internally use classes 
from
> > the other application as required. Also I do not want the user to
> > compile the script, that should happen only at runtime (would 
> love if
> > compilation to byte-code can be avoided) and execute the script 
step
> > by step.
> >
> > I would also like to develop a simple editor (but with 
Intellisence)
> > for this. Could anyone please provide me little guidance on 
> this? I
> > tried searching for material that might help me but failed to find
> > much of use (possibly I am looking at wrong places).
> >
> > Thanks,
> > Raj
> >
> >
> >
> >
> >
> 



More information about the antlr-interest mailing list