Minres / CoreDSL

Xtext project to parse CoreDSL files
Apache License 2.0
16 stars 3 forks source link

Validator checks disabled instructions #105

Open eyck opened 1 year ago

eyck commented 1 year ago

When using a specific Core the validator checks all instruction definitions, even those being not enabled by attributes.

AtomCrafty commented 10 months ago

So disabled instructions don't have to follow semantic constraints? That is not clear from the documentation, so we should add a sentence there as well.

eyck commented 10 months ago

Yes, from a users perspective this should be the behavior.

Instructions are disabled because the are not valid or applicable for the given parameters. So this should not be checked.

AtomCrafty commented 10 months ago

Got it, then I'll implement it that way and add some clarifying words to the documentation.