javacc Questions

3

I searched through the plugin repo and downloaded the javacc plugin. Now that I have the plugin how do I use it in IntelliJ. My project looks like this .
Rademacher asked 8/4, 2015 at 21:16

3

Solved

I've been trying to set up javacc but am having problems. When I type javacc adder.jj (in the directory where adder.jj is) I am getting "'javacc' is not recognized as an internal or external comman...
Balthasar asked 7/9, 2013 at 14:46

2

Solved

Basic requirement is use keyword as identifier, so I want to distinguish the token from it's context.(e.g.class is a keyword, but we allowed a variable named class). In java, this is possible, but...
Arbutus asked 22/12, 2015 at 3:4

1

I'm currently using JavaCC (with the JavaCC gradle plugin from here) to generate some of my source code. The rest of the project does depend on that code. If I import the project into IDEA or clean...
Laurentian asked 30/4, 2015 at 13:24

6

Solved

I am new to JavaCC and cannot figure out how to get it running. I am using Mac OS X and I installed javacc-6.0.zip and unzipped it. I am unable to make the javacc script accessible from my path as ...
Dariadarian asked 21/7, 2013 at 19:39

1

Solved

If I type 019 > 020 in the JavaScript console (tested in both Chrome and Firefox), I get the answer true. This is due to 020 being interpreted as an OctalIntegerLiteral (equals 16) whereas 019 ...
Manchu asked 24/1, 2015 at 15:15

2

Solved

I have an assignment to use JavaCC to make a Top-Down Parser with Semantic Analysis for a language supplied by the lecturer. I have the production rules written out and no errors. I'm completely st...
Simpatico asked 16/12, 2012 at 14:29

5

Solved

It's very difficult to find this kind of document online. I found one in JAVAWORLD, but this one does not cover the jjTree and visitor one. Does anybody happen to have some links to the tut...
Trematode asked 18/6, 2009 at 3:21

2

Solved

I am referring to the XML 1.1 spec. Look at the definition of NameStartChar: NameStartChar ::= ":" | [A-Z] | "_" | [a-z] | [#xC0-#xD6] | [#xD8-#xF6] | [#xF8-#x2FF] | [#x370-#x37D] | [#x37F-#x1FFF...
Dryasdust asked 20/5, 2010 at 10:12

4

Solved

I love static analysis and compile-time checks, almost to a fault, but most of my day job is in Objective-C. To resolve this tension, I'd like to be able to write my own analysis tools that I can r...
Dashiell asked 22/7, 2011 at 12:58

2

Is anybody familiar with the the RTF document format and parsing using any Java libaries. The standard way people have done this is by using the RTFEditorKit in the JDK Swing API: Swing RTFEditorK...
Clydesdale asked 12/5, 2009 at 18:55

3

Solved

Too many people have told me about the disadvantages, but what is its advantage if any?
Giulietta asked 21/11, 2009 at 13:0

8

We have a large codebase that takes approx 12 minutes on the developer machines to auto-generate some Java 5 classes using JavaCC and then compiles all the classes as well as running the units test...
Method asked 28/9, 2008 at 22:21

1

Solved

I'm trying to think of a good way to parse strings using JavaCC without mistakenly matching it to another token. These strings should be able to have spaces, letters, and numbers. My identifier an...
Sperrylite asked 9/8, 2012 at 7:9

8

Concerns are documentation/learnability, eclipse integration, tooling, community support and performance (in roughly that order).
Ragan asked 19/12, 2008 at 21:9

1

Solved

I'm trying to write a parser in Java for a simple language similar to Latex, i.e. it contains lots of unstructured text with a couple of \commands[with]{some}{parameters} in between. Escape sequenc...
Westerfield asked 16/8, 2010 at 16:7

3

Solved

I've used antlr and javacc/freecc for a while. Now I need to write a bunch of parsers using antlr grammars but such parsers need to be written in ruby lang. I googled but nothing found. Is there a...
Impatience asked 15/6, 2010 at 7:58

4

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, whic...
Thrush asked 28/4, 2010 at 17:47

3

I've recently started to play around with grammatical analyzers using javacc and one of the fields is the options one...I have a code like the folowing: options { LOOKAHEAD=1; } PARSER_BEGIN(Calc...
Anyaanyah asked 20/2, 2010 at 16:46
1

© 2022 - 2024 — McMap. All rights reserved.