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

Parse list arguments to built-in commands as list nodes #12

Open
nmoroze opened this issue Dec 30, 2023 · 0 comments
Open

Parse list arguments to built-in commands as list nodes #12

nmoroze opened this issue Dec 30, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@nmoroze
Copy link
Owner

nmoroze commented Dec 30, 2023

There are certain built-in commands that interpret arguments as lists. Parsing these as List nodes would enable us to do some more sophisticated checks. In some cases, we can do argument count checks. In addition, we could report spacing violations between list items.

If we do this for proc nodes, we could also add a checker for correct arg count to procs. It wouldn't catch everything until we can follow source statements, but it'd still catch additional bugs.

@nmoroze nmoroze changed the title Take advantage of list node Parse list arguments to built-in commands as list nodes Dec 30, 2023
@nmoroze nmoroze added the enhancement New feature or request label Mar 3, 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

1 participant