Changes between Version 19 and Version 20 of FeatureList
- Timestamp:
- 11/04/14 15:01:36 (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
FeatureList
v19 v20 10 10 These rules will give warnings in the editor if they find inconsistencies and constraint violations in the code. 11 11 12 1. '' __checkUpdateGrammarConsistency__:''checks if the grammar is an updated grammar, for consistency validation between the original grammar and the new grammar12 1. ''checkUpdateGrammarConsistency'': checks if the grammar is an updated grammar, for consistency validation between the original grammar and the new grammar 13 13 * status: not migrated 14 1. '' __checkReferencedOnlyOnce__:''checks if there are rules that are only referenced only once, this is an inlining hint14 1. ''checkReferencedOnlyOnce'': checks if there are rules that are only referenced only once, this is an inlining hint 15 15 * status: migrated 16 1. '' __checkPassthroughRule__:''checks if a rule gets just passed through, e.g. `a ::= b, b ::= "literal"` <=> `a ::= "literal"`, which is better for EBNF16 1. ''checkPassthroughRule'': checks if a rule gets just passed through, e.g. `a ::= b, b ::= "literal"` <=> `a ::= "literal"`, which is better for EBNF 17 17 * status: migrated 18 1. '' __checkEqualAlternative__:''checks if a rule has equal alternatives, e.g.: `a::= d | d`18 1. ''checkEqualAlternative'': checks if a rule has equal alternatives, e.g.: `a::= d | d` 19 19 * status: migrated 20 1. '' __checkDuplicateRules__:''checks if there is another rule that has the same right hand side, e.g.: `a ::= "literal" | b, c ::= "literal" | b `20 1. ''checkDuplicateRules'': checks if there is another rule that has the same right hand side, e.g.: `a ::= "literal" | b, c ::= "literal" | b ` 21 21 * status: migrated 22 1. '' __checkSubruleDuplicates__:''checks if there are identical parts of right hand sides, this is an extract subrule hint e.g. `a::= b c d` and `f::= e c d` <=> `a::= b g` and `f::= e g` with `g::= c d`22 1. ''checkSubruleDuplicates'': checks if there are identical parts of right hand sides, this is an extract subrule hint e.g. `a::= b c d` and `f::= e c d` <=> `a::= b g` and `f::= e g` with `g::= c d` 23 23 * status: not migrated 24 1. '' __checkUnusedRule__:''checks if a rule never used (except for the first rule)24 1. ''checkUnusedRule'': checks if a rule never used (except for the first rule) 25 25 * status: migrated 26 1. '' __checkNameIsUnique__:''checks if the name of a rule is already in use e.g. `a ::= "end", a ::= "fin"`26 1. ''checkNameIsUnique'': checks if the name of a rule is already in use e.g. `a ::= "end", a ::= "fin"` 27 27 * status: migrated 28 28 … … 54 54 1. ''renaming'' 55 55 * status: provided by xtext2 56 1. ''inline rules referenced only once'' 57 * status: not migrated 56 58 57 59 == Grammar Composition: == 58 60 59 61 Three grammar types: 60 * grammar: normal grammar61 * delta grammar: different notation for an extension grammar,62 * ''grammar'': normal grammar 63 * ''delta grammar'': different notation for an extension grammar, 62 64 * adds new rules to a grammar (regular rules) and adds changes to rules of the extended grammar (extension rules) (can be automatically created) 63 * merge grammar: for merging extensions65 * ''merge grammar'': for merging extensions 64 66 65 67 The legacy version had an automatic composition process for merge grammars with a small pop-up-menu.