JavaCC: Please give me links to "real" examples [closed] - java

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
I know that there are many examples of JavaCC parsers here,
but they all do nothing. They just accept a string, or produce parsing errors.
What I need is a few examples of real parsers, which actually do something during parsing. (Such as building a DOM tree during parsing an XML string).
Please help! ;)

Take a look at EcmaScript.jj that DOJO library maintains over here - http://svn.dojotoolkit.org/src/trunk/tools/jslinker/src/org/dojo/jsl/parser/EcmaScript.jjt
It parses real javascript and then optimizes it. Read more about what it does out here http://svn.dojotoolkit.org/src/trunk/tools/jslinker/docs/readme.txt

http://www.engr.mun.ca/~theo/JavaCC-Tutorial/javacc-tutorial.pdf
http://www.cobase.cs.ucla.edu/projects/coxml/doc/Eric-Master.pdf

The JavaCC website features a grammar repository with grammars for many programming languages (C,C++,VB,etc.).
Check it out

SourceMeter, as patched, uses JavaCC to derive Java source code metrics.

Related

Online Java scratchpad like jsfiddle [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
I am looking for something like jsfiddle but for java, so that code snippets and classes can be shared and tested.
At the moment, I am using a combination of pastebin and compileonline.com. I would rather not sign up for a huge online compiler service, just a quick and dirty code sharing/testing platform, that provides unique URL's for my code snippets.
I have seen other people asking similar questions:
https://stackoverflow.com/questions/15320286/is-there-online-compiler-for-java-like-jsfiddle
But there doesn't seem to be just the right tool. Anyone provide any pointers?
I tried using http://ideone.com/.
It supports a bunch of languages, including Java.

Documentation for Jagatoo [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
I can't find any documentation for Jagatoo, except for a single PDF in the doc folder. Is there any at all?
Would make it a lot easier to read about the structure, rather than investigating it all.
Read the source code.
Source code really is the best documentation in the absence of adequate documentation. I find that if I really want to wrap my head around a framework or library, the best thing to do is to dedicate an evening (or weekend, depending) to a proper deep dive of the source code. The added benefit is then that you know exactly where missing functionality needs to go if you want to implement it yourself, and better yet, contribute it back to the Open Source community.
PS I presumed you meant that the PDF on this page is the only one you could find.
You could potentially also look at how Xith3D makes use of JAGaToo.

Dataflow diagram creator for Java source code [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
I am searching for data flow diagram creator for Java source code. Please suggest me any tool for the same.
SD Java parser with flow analysis.
You have to export the data flow graph to DOT to see it. The front end has support to do that.
I don’t know any software which create data flow diagram from java source code, however, I know that Microsoft Visio has the features of reverse engineering to create data flow diagram. But I don’t know whether it does for java source code or not. I will suggest you to try Visio 2010 for creating DFD. Hope this may help you.

Tool to convert java to c# code [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
What is the best tool out there at the moment to convert java to c#? Apart from
j2ctranslator
j#
I use IKVM at the moment.
For your reference:
Sharpen by db4o
XES
RemoteSoft Octopus (commercial)
Note: I had no experience on them.
Don't. Leave them as Java and use IKVM to convert them to .Net DLLs.
http://www.ikvm.net/devguide/java2net.html
http://sourceforge.net/apps/mediawiki/ikvm/index.php?title=Ikvmc
I've had good results with this one. Much easier to use than Sharpen.
http://tangiblesoftwaresolutions.com/Product_Details/Java_to_CSharp_Converter.html
Microsoft has a tool called JLCA: Java Language Conversion Assistant. I can't tell if it is better though, as I have never compared the two.

Best iCalendar library for Java? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a book, tool, software library, tutorial or other off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
I'm looking for a library to handle iCalendar data in Java.
Open source, well-documented implementations with a good object model are preferred. iCal parsing capabilities are less important to me, but still nice to have.
Does anyone have any recommendations?
A challenger appears! Please give biweekly a try. I'm looking for lots of feedback on how it can be improved.
I had limited success with iCal4j (intro) on a project last year.
It seems to be a fairly popular choice for ical work in the java community.
If I remember correctly the API can be slightly confusing at first glance.
However It's pretty solid in the long run.
Good luck,
Brian

Categories