Skip to content
This repository has been archived by the owner on Oct 17, 2019. It is now read-only.

5.19.0

Compare
Choose a tag to compare
@cmoesel cmoesel released this 04 Jun 02:05
· 53 commits to master since this release
a487bcb

Version 5.19.0 finishes support for the CIMPL6 exporter, complete with an optional script to re-integrate comments from CIMPL5 to CIMPL6. It also includes a new ClassRegistry in the ES6 exporter to support custom overrides of generated classes.

To export CIMPL5 definitions to CIMPL6, use the --export-cimpl-6 flag. For example:

$ node . --export-cimpl-6 -c ig-all-r4-config.json ../shr_spec/spec/

This will place the new CIMPL6 files in ./out/cimpl6/.

The CIMPL6 export does not retain code comments. To re-integrate code comments, a Python3 script can be used. For example:

$ python3 commentReintegration.py [Directory of CIMPL 5 Files] [Directory of Exported CIMPL 6.0]

This will place the CIMPL6 files with re-integrated comments in ./CommentsReintegration.

Note that value sets and mappings remain on CIMPL5 grammars. The value set and mapping files will need to be copied into the folder with the CIMPL6 files in order for a CIMPL6 import to succeed. Also note that CIMPL6 import has not yet been released (but should be released very soon).

For more information, see the README.