Hi to all,
I need a guide or corrections:
I'm trying to develop DSL to create all types of different weapon, and I choosed to create close combat weapons first. So there I created abstract concept CCWeaponInterface which holds properties damageSlash, damageBlunt and damageStab, together with weight (all properties are integer). Then I created two more concepts which extend CCWeaponInterface, the Axe and the Sword concept. Axe has additional twoHanded and twoBladed boolean properties, and Sword holds bladeLength integer.
Question one: is this a proper path, or am I going the wrong way developing a language?
Second issue comes up when creating editor. I started by making horizontal collection, then constant cell "Create " and here, I wanted to add cell which would constrain choices to any weapon which extends CCWeaponInterface.
Question two: Is it possible and how can it be done?
Question three: In defining concepts, what are the "concept links" and "links" used for?
Thanks to anyone who replies.