plugbee / dslforge

A generator of domain-specific language (DSL) editors for web applications and cloud IDEs.
78 stars 21 forks source link

Enhancement: Support Grammars Extending Other Grammars #19

Open david-pace opened 8 years ago

david-pace commented 8 years ago

When generating a web editor for a grammar depending on another grammar like this:

grammar tld.domain.my.dsl.MyExtendingDSL with tld.domain.my.dsl.MyBaseDSL

errors like the following are thrown during generation:

java.lang.IllegalStateException: Problem parsing 'platform:/resource/tld.domain.my.dsl/src/main/java/path/to/package/dsl/MyExtendingDSL.xtext': XtextLinkingDiagnostic: null:1 Couldn't resolve reference to Grammar 'tld.domain.my.dsl.MyBaseDSL'.