Javacc Builder [message #16581] |
Tue, 19 February 2008 10:46  |
Eclipse User |
|
|
|
Hi to all.
I'm trying to write an eclipse-plugin for a new language.
I have to define a customized IDE for my language: a syntax highlighting
editor with error marks.
I need javacc like compiler.
Is there some info to use javacc with IMP?
Thank you in advance
Giuseppe
|
|
|
|
Re: Javacc Builder [message #18422 is a reply to message #16581] |
Tue, 15 April 2008 09:33  |
Eclipse User |
|
|
|
Giuseppe wrote:
> Hi to all.
> I'm trying to write an eclipse-plugin for a new language.
> I have to define a customized IDE for my language: a syntax highlighting
> editor with error marks.
> I need javacc like compiler.
> Is there some info to use javacc with IMP?
At the moment, there is no JavaCC IDE based on IMP, and IMP doesn't
provide any metatooling or framework support classes.
In case you're really just asking about a JavaCC IDE, a quick
googling gave this:
http://sourceforge.net/projects/eclipse-javacc
so there is some support for using JavaCC in Eclipse. In other words,
at least you'd get syntax highlighting, outlining, a builder, and so
on while working on the JavaCC grammar for your language.
--
Cheers,
-- Bob
--------------------------------
Robert M. Fuhrer
Research Staff Member
Programming Technologies Dept.
IBM T.J. Watson Research Center
IMP Team Lead (http://eclipse-imp.sourceforge.net)
X10: Productivity for High-Performance Parallel Programming (http://x10.sf.net)
|
|
|
Re: Javacc Builder [message #570078 is a reply to message #16581] |
Tue, 08 April 2008 16:52  |
Eclipse User |
|
|
|
Hi Giuseppe,
IMP will not give you much help for building the compiler itself. LPG
support associated with IMP will help you in writing a grammar and
generating a parser. (You can use LPG with or without IMP.)
IMP will help you build an IDE with a syntax highlighting editor with
error markers. It also makes it easy to get several additional features
such as source-text folding, an outline view, hover help, and others.
Most IMP IDE services are driven off of an AST representation that is
constructed by a parser. IMP can also help you to build an incremental
builder, and you can use that to invoke a compiler if you have one.
Regarding error markers, errors returned by the parser will appear as
markers in the editor. Errors returned by the compiler can be converted
by a builder into problem markers that show up in the problems view.
I hope this is helpful,
Stan Sutton
Giuseppe wrote:
> Hi to all.
> I'm trying to write an eclipse-plugin for a new language.
> I have to define a customized IDE for my language: a syntax highlighting
> editor with error marks.
> I need javacc like compiler.
> Is there some info to use javacc with IMP?
> Thank you in advance
>
> Giuseppe
|
|
|
Re: Javacc Builder [message #570211 is a reply to message #16581] |
Tue, 15 April 2008 09:33  |
Eclipse User |
|
|
|
Giuseppe wrote:
> Hi to all.
> I'm trying to write an eclipse-plugin for a new language.
> I have to define a customized IDE for my language: a syntax highlighting
> editor with error marks.
> I need javacc like compiler.
> Is there some info to use javacc with IMP?
At the moment, there is no JavaCC IDE based on IMP, and IMP doesn't
provide any metatooling or framework support classes.
In case you're really just asking about a JavaCC IDE, a quick
googling gave this:
http://sourceforge.net/projects/eclipse-javacc
so there is some support for using JavaCC in Eclipse. In other words,
at least you'd get syntax highlighting, outlining, a builder, and so
on while working on the JavaCC grammar for your language.
--
Cheers,
-- Bob
--------------------------------
Robert M. Fuhrer
Research Staff Member
Programming Technologies Dept.
IBM T.J. Watson Research Center
IMP Team Lead (http://eclipse-imp.sourceforge.net)
X10: Productivity for High-Performance Parallel Programming (http://x10.sf.net)
|
|
|
Powered by
FUDForum. Page generated in 0.05789 seconds