weso / YASHE

Yet Another ShEx Editor.
http://www.weso.es/YASHE/
MIT License
20 stars 3 forks source link

Add support for extends and abstract keywords #167

Closed labra closed 3 years ago

labra commented 3 years ago

The new version of ShEx will include 2 new grammar rules:

shapeExprDecl
 : KW_ABSTRACT? shapeExprLabel /* restrictions* */ (shapeExpression | KW_EXTERNAL)
 ;

and:

extension
 : KW_EXTENDS shapeRef +
 | '&' shapeRef +
 ;

You can see the new Antlr4 grammar here.

It would be great to support them in Yashe.

You can see an example here

mistermboy commented 3 years ago

It´s already implemented, thanks!