Introducing concepts #20
Replies: 3 comments 2 replies
-
|
Tylasu has NodeDefinition, it's an internal API. |
Beta Was this translation helpful? Give feedback.
-
|
Some thoughts. A Concept would be a kind of "metaclass", should it also be a "meta Node" i.e. be an instance of some Node subclass that happens to describe another Node? Concepts should be grouped in some kind of container/package/namespace/scope thing. That makes it more palatable to have Concepts as Nodes because also their container would be a Node and we could use regular *lasu APIs to search for nodes/concepts. |
Beta Was this translation helpful? Give feedback.
-
I think this would be related to the idea of "meta-circularity". In general yes, we may want to be able to provide a representation of concepts as nodes, so that we can serialize them in the same way that we serialize nodes. I am not sure if the Concept class itself should extend Node or if we could export Concepts to Nodes.
Yes. We could call it also "language" or "metamodel". But it would be effectively a namespace
Yes, indeed. So metamodels would be models that happen to contains nodes of a particular type (concepts) |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
At the moment nodes know their type and their list of properties. We should introduce proper concepts also and nodes should be able to return their concepts.
Beta Was this translation helpful? Give feedback.
All reactions