-
Notifications
You must be signed in to change notification settings - Fork 95
Description
Background
The new Python generator will be used for CDM 7.
Should it be used for CDM 5.x and 6.x?
Proposal
To recap the new generator implements the agreed serialization format and adds support for:
- Rune features such as metadata missing from earlier versions of the generator
- Recursive type definitions (i.e. type A has an attribute of type B and type B has an attribute of type A); and
- In a future release, function generation.
Compatibility
From a CDM perspective, we believe that the support for metadata and any other new features of the DSL (such as the choice operator) is all non-breaking.
The downside of using the new generator for earlier versions of CDM is that it will serialize in a format inconsistent with that produced by the Java implementations for those same versions. We believe this to be an acceptable difference since CDM 7 standardizes the format and the lack of metadata support in the current Python generator implies that the serialization formats already diverge.
Release
CDM 5.x and 6.x
Additional Context
Directed to the TAWG
Metadata
Metadata
Assignees
Labels
Type
Projects
Status