gsdlab/clafer

Problem with recursive definitions

Closed this issue · 1 comments

Description: Recursive definitions apparently do not work in both versions, master and grammar.


How to reproduce:

create a simple example like:

abstract Person
name : string
friends -> Person *


Result: grammar: syntax error before }
Result: master: element is not unique "name"


Expected result: no compilation error.

kbak commented

It was a problem with parsing cardinalities, not recursive definitions. It'll be fixed in next commit.