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

[FEATURE] AST for .nft files #280

Open
nf-brentsaner opened this issue Sep 26, 2024 · 1 comment
Open

[FEATURE] AST for .nft files #280

nf-brentsaner opened this issue Sep 26, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@nf-brentsaner
Copy link

It'd be useful, I think, to implement an AST for the .nft syntax files (e.g. nftables scripts), and populating them as native types.

This would allow for rule evaluation and comparison against the current ruleset, identifying which file a rule is created in/included from, and even dumping representations to NFT snytax.

This would likely assist in tests and mocking as well.

@stapelberg
Copy link
Collaborator

Useful, sure, but also a huge amount of work, both initially and ongoing.

Are you offering to contribute such an implementation?

@stapelberg stapelberg added the enhancement New feature or request label Sep 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants