digitaltwinconsortium / DTDLParser

Digital Twin Definition Language parser for .NET
MIT License
15 stars 7 forks source link

ModelParser support for externally defined language extensions #120

Open sourabhkrishna opened 11 months ago

sourabhkrishna commented 11 months ago

Currently the ModelParser is not able to dynamically load language extensions defined on the @context via the DtmiResolver callback. Is there a future plan to support this, so that Model Parser could also validate models based on externally/custom defined extensions?

jrdouceur commented 11 months ago

I wouldn't go so far as to call it a "plan", but it is certainly our intent. Extensions are defined by a subset of the metamodeling language that is used to define core DTDL, and we imagine selecting a sub-subset of the metamodeling language and enabling this to be processed dynamically. The specific language features in the subset will be driven by the use cases that are most in demand for dynamic extension support. Having said all that, there is no timeline currently established for when this work will commence.