LLK Changes
Grammar
- NEW - Added grammar option
VisitorException = "string" for parser and
treeparser to specify name of exception that the generated visitor.visit() methods should throws. Default
is null , ie. throws no execption.
- NEW - Added grammar option
PublicConstructor = boolean for lexer, parser
and treeparser to specify if code generator should generate a public or private constructor.
Implementation
Bugs
- FIXED -
NodeFileGenerator generated header without // comment prefix.
- FIXED -
ISourceLocator.FileInfo methods are now public.
- FIXED -
LLKNode.java template.
Sample Grammar Changes
llk-java5
- NEW - Added
JavaCodeFormatter stuffs.
llk-csharp
- FIXED -
partial not as a keyword.
- CHANGE - No longer use
get , set , add ,
remove as context dependent keywords. Now use semantic predict to check for matching
identifiers.
- Splitted all model building and conditional parsing stuffs to the
llk-csharp-model project. llk-csharp project now host a minimal CSharp 2.0
parser.
llk-csharp-model
-
NEW - Spinned off from
llk-csharp project. This project host stuffs for
conditional parsing and building of a merged AST model for CSharp 2.0 source. There is also a CSharp
code formatter.
DISCLAIMER: This project is still experimental and there is no guarantee that it would reach a
mature state.
|