Eclipse JavaCC plugin

Edit and compile JavaCC and JJTree grammar.

Download Eclipse JavaCC plugin 1.5.7 for EasyEclipse 1.2.2:

(2.0MB)  (1.9MB)  (1.9MB)

Tools for Eclipse IDE to facilitate development of JavaCC applications. Supported functions include :

There are currently 4 comments for this plugin. You can review them and add more here.

Installing this plugin

This plugin is not shipped in any distribution. You must manually install it on an EasyEclipse distribution.

The dependent plugin Eclipse Java Development Tools must be present in the EasyEclipse distribution you use, or must be installed separately.

Getting started

Help is available for this plugin, in the Help > Help Contents menu in EasyEclipse.

To start with JavaCC, you can create a new Java Project by selecting File > New > Project, then Java > Java Project. Enter a Project name, and check the box Create separate source and output folders to get a "src" folder. Without this, you cannot compile the JavaCC files. Hit Finish.

You can then create a sample JavaCC file by selecting File > New > Other, then JavaCC > JavaCC Template File. Leave all values as default, and hit Finish. The project should compile into the "bin" directory, and you should be able to run it immediately using Run As > Java Application.

Useful links

You can also look for reviews and ratings, and add your own:

Changelog

Changes in EasyEclipse 1.3.1:

Changes in EasyEclipse 1.2.2: Changes in EasyEclipse 1.2.1: Changes in EasyEclipse 1.0.1: Changes in EasyEclipse 1.0.0:

Credits and License

Credits: Remi Koutcheraw, Peter M. Murray

Copyright (c) 2003-2004 Remi Koutcherawy.

This plugin is licensed under the GNU General Public License 2.0 license.

        See also http://www.cecill.info/index.en.html - CeCILL FREE SOFTWARE LICENSE AGREEMENT .
    

4 Comments »

Comment by Selim
2007-06-11 01:05:44

to use this plugin, you must create a project with *Create separate source and output folders to get a “src” folder*, otherelse you will not be able te compile any file with JavaCC

 
Comment by miaoyoumeng
2009-05-10 04:55:40

I need JavaCC plugin to parse XQuery

 
Comment by Bruno
2009-11-04 09:14:10

When I follow this

>To start with JavaCC, you can create a new Java Project by selecting File > New > Project, then Java > >Java Project. Enter a Project name, and check the box Create separate source and output folders to get a >”src” folder. Without this, you cannot compile the JavaCC files. Hit Finish.
>
>You can then create a sample JavaCC file by selecting File > New > Other, then JavaCC > JavaCC Template >File. Leave all values as default, and hit Finish. The project should compile into the “bin” directory, >and you should be able to run it immediately using Run As > Java Application.
>

Severity and Description Path Resource Location Creation Time Id
java.lang.NoClassDefFoundError: javacc
Exception in thread “main” teste/src new_file.jj line 1 1257350911093 1

 
Comment by Marco
2010-09-12 03:29:48

Hello,

I’m a student using JavaCC.
I wrote my grammar and it works very well, but when I right click on the file and select “Compile with JJDoc” I have an error

>java -classpath /Applications/eclipse/plugins/sf.eclipse.javacc_1.5.22/javacc.jar jjdoc /Users/Link/Documents/workspace/TestJavaCC/src/foo2/ExpSv.jj
Java Compiler Compiler Version 5.0 (Documentation Generator Version 0.1.4)
(type “jjdoc” with no arguments for help)
Reading from file /Users/Link/Documents/workspace/TestJavaCC/src/foo2/ExpSv.jj . . .
File /Users/Link/Documents/workspace/TestJavaCC/src/foo2/ExpSv.jj not found.

I’m using JavaCC on eclipse 3.5.2. Could you have any suggestion to solve the problem?

Thanks in advance for your help.

Marco D’Alessandro

 
Your name (required for validation and display)
Your e-mail (required for validation but never displayed)
Your website URL (optional for display)
Your comment (smaller size | larger size)
You may use <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> in your comment.