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

Add a reverse Transform for "DictTransformer" #176

Open
michaeldcanady opened this issue Oct 15, 2024 · 1 comment
Open

Add a reverse Transform for "DictTransformer" #176

michaeldcanady opened this issue Oct 15, 2024 · 1 comment
Assignees

Comments

@michaeldcanady
Copy link

currently there doesn't seem to be a "simple" approach to converting from a "hcl2Dict" to a Lark.Tree, since the tree to dict conversion is done via the DictTransformer, I think it would be a huge help to have a TreeTransformer, where the dict is converted back into an HCL representation Lark.Tree.

@kkozik-amplify
Copy link
Collaborator

kkozik-amplify commented Jan 16, 2025

Hey @michaeldcanady,

we just released version 6.0.0 with support of Python dicts to HCL2 reconstruction. Please check it out and let me know whether it meets your requirements!

@kkozik-amplify kkozik-amplify self-assigned this Jan 16, 2025
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

No branches or pull requests

2 participants