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

Use standalone lark parser #64

Open
nyurik opened this issue May 5, 2021 · 0 comments
Open

Use standalone lark parser #64

nyurik opened this issue May 5, 2021 · 0 comments

Comments

@nyurik
Copy link

nyurik commented May 5, 2021

This amazing library would often run in a highly secure environment, e.g. various infrastructure automation env. As such, it would be great if python-hcl2 used no external dependencies to simplify security audit.

From documentation, Lark can generate parser code directly, which would result in a hcl2-specific python file that can be added directly to the library, while having exactly the same interface as the full Lark lib. I also suspect that the parser will be faster than when parsing using declarative rules. Thanks!

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

1 participant