Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » Modifying the Eclipse Java Compiler/Grammar
Modifying the Eclipse Java Compiler/Grammar [message #256599] Tue, 23 September 2008 16:08 Go to next message
Andrei Serea is currently offline Andrei SereaFriend
Messages: 16
Registered: July 2009
Junior Member
Hy,

Can anyone tell me how I can modify the grammar of the java compiler?
I read the how-to I found at this link:
http://dev.eclipse.org/viewcvs/index.cgi/jdt-core-home/howto /generate%20parser/generateParser.html?view=co
but unfortunately I couldn't locate the java.g file that the tutorial
talks about.
Is this tutorial still valid or should i take a new approach?

Any hint is greatly appreciated. Thanks

AS.
Re: Modifying the Eclipse Java Compiler/Grammar [message #256603 is a reply to message #256599] Tue, 23 September 2008 21:37 Go to previous message
Walter Harley is currently offline Walter HarleyFriend
Messages: 847
Registered: July 2009
Senior Member
"Andrei Serea" <andrei.serea@gmail.com> wrote in message
news:gbb49h$f74$1@build.eclipse.org...
> Hy,
>
> Can anyone tell me how I can modify the grammar of the java compiler?
> I read the how-to I found at this link:
> http://dev.eclipse.org/viewcvs/index.cgi/jdt-core-home/howto /generate%20parser/generateParser.html?view=co
> but unfortunately I couldn't locate the java.g file that the tutorial
> talks about.
> Is this tutorial still valid or should i take a new approach?

java.g is in the 'grammar' folder, in the source code of the
org.eclipse.jdt.core plug-in, which you can get from the Eclipse CVS
repository (http://wiki.eclipse.org/index.php/CVS_Howto).
Previous Topic:generated build.xml without hardcoded path
Next Topic:Converting JUnit tests to 3.3
Goto Forum:
  


Current Time: Wed Jul 17 14:58:38 GMT 2024

Powered by FUDForum. Page generated in 0.03026 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top