Related articles |
---|
Can I eliminate shift-reduce conflict with Visual Parse++ hihj@naus.net (Jung Hyun Jung) (2002-06-02) |
From: | "Jung Hyun Jung" <hihj@naus.net> |
Newsgroups: | comp.compilers |
Date: | 2 Jun 2002 01:38:28 -0400 |
Organization: | http://groups.google.com/ |
Keywords: | parse, question |
Posted-Date: | 02 Jun 2002 01:38:28 EDT |
I use java.ycc in Visual Parse++.
But "java.ycc" does not provide me with all JavaLanguageSpec 1.2
follow in java.ycc with comments
//PrimaryNoNewArrayDotClass PrimaryNoNewArray ->Type'.'class;
//PrimaryNoNewArrayDotVoid PrimaryNoNewArray -> void '.' class;
//PrimaryNoNewArrayDotThis PrimaryNoNewArray -> Identifier '.' this;
//ArrayCreationExpression11 ArrayCreationExpression -> new Type Dims
ArrayInitializer;
Conflicts occurs when I ignore comments.
I want make "java.ycc" which provide all JavaLanguageSpec 1.2
I want resolve conflict problem with Visual Parse++ .
Step by step, I want explanation .
Besides
JavaLanguageSpec 1.2
1. FieldAccess :
ClassName.super.Identifier
2. MethodInvocationExpressions :
ClassName.super.Identifier(ArgumentListopt)
3. PrimaryNoNewArray :
ClassName.this
Not provide these in "java.ycc" .
I want advices.
Return to the
comp.compilers page.
Search the
comp.compilers archives again.