You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ronaldtse
changed the title
Extend LUTAML UML language to handle lutaml-model modeling methods and serialization formats
Develop LutaML modeling language to handle model and serialization definitions (was: LutaML-UML language)
Jan 22, 2025
What is LutaML-UML
LutaML-UML is an ASCII syntax language for defining UML models:
It is a block-based, context-aware syntax with explicit delimitation.
Currently, it provides the following primitives:
diagram {diagram-name} {...block...}
class
association
enum
definition
package
abstract
//
{attribute-name-path} = ...
{visibility symbol}
instance
Approach
Our goal here is to upgrade this language to support all the features we have in lutaml-model, and just called it LutaML ("Luta Modeling Language").
There are a few levels we need to support:
Basically, the way to approach this language is as follows.
The language supports only 4 things:
{command} [args*]
{command} [args*] {...block...}
String
, etc.All the other fancy things can be defined as shorthand commands as alternative syntax to the full command.
Data class definition
Something like this:
Data instance definition
Collection:
Instance inheritance:
Instance import/export:
The text was updated successfully, but these errors were encountered: