Fortunately, the org.aspectj.ajdt.core and org.eclispe.jdt.core is the key point to the mass errors when there are a bit wrong modification to the source or the eclipse environment. these two "head" should be firstly made eligible. then If the errors still exist, check out the circular compilation, related aspectj file weaven and the environment's jre class lib.
It's should be no doubt that importing the code, is not merely copy the source, but also the environment including breakpoints, run configurations and etc metadata.
Additional Notes:
Today I review the Compilers: Principles, Techniques, and Tools.
summarize the compilers' knowledge as followed:
- General: input String Stream -Lexical Analyse-Token Stream-Syntax Parsing-Type Checking-Code Optimizer-InterMedia code generate-Code generation.
- Lexical Analyse:
- Token Define: Regular Expression
- Token Recognition: RE->NFA->DFA
- Syntax Parsing; Define: Grammar; Recognition:
- Top-Down: LL Grammar, Recursive-Descend;must deal with left recursive and ambiguous productions
- Bottom-Up: LR(1) Grammar, Shift-Reduce; must deal with ambiguous conflicts.
- Parse Tree: concrete syntax tree VS. Abstract Syntax tree.


No comments:
Post a Comment