Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cpp: Add functionality for dumping the reactor structure to a yaml file #788

Merged
merged 5 commits into from
Dec 21, 2021

Conversation

cmnrd
Copy link
Collaborator

@cmnrd cmnrd commented Dec 8, 2021

Similar to export-dependency-graph this PR adds a target property export-to-yaml which instructs the C++ runtime to export detailed information about the program structure to a yaml file. This is very useful for analyzing LF programs outside of the LF compiler. For instance, @Elocien is currently trying to investigate execution traces to find optimization opportunities.

The exporting functionality is implemented in lf-lang/reactor-cpp#4.

org.lflang/src/org/lflang/TargetConfig.java Outdated Show resolved Hide resolved
Co-authored-by: Clément Fournier <clement.fournier76@gmail.com>
@cmnrd cmnrd marked this pull request as ready for review December 21, 2021 14:57
@cmnrd cmnrd merged commit 94ddf02 into master Dec 21, 2021
@cmnrd cmnrd deleted the cpp-yaml-export branch December 21, 2021 14:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants