softlang / metalib

A Chrestomathy of DSL implementations
https://softlang.github.io/metalib
9 stars 1 forks source link

Explicit feature model #14

Closed rlaemmel closed 7 years ago

rlaemmel commented 7 years ago

Let's get started with adding the feature model proper to the repo.

Initially, let's go with this expressiveness only:

[
  {
     “feature” : “Parsing”,
     “abstract” : true;
     “super” : “Textual syntax”
  },
  …
]

Just this expressiveness will be sufficient to enable some basic checking and rendering as follows:

rlaemmel commented 7 years ago

There are indeed feature names in use that don't exist anymore. See for example "Creole" ... on the landing page.

rlaemmel commented 7 years ago

See also #12 which adds more (possibly less urgent) well-formedness ideas.

le-cram commented 7 years ago

https://github.com/softlang/metalib/blob/master/tools/metadocs/feature-model.json