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

Determine whether Bash language can be parsed and put into syntax tree. #4

Open
5 tasks
a-t-0 opened this issue Apr 9, 2022 · 1 comment
Open
5 tasks

Comments

@a-t-0
Copy link
Member

a-t-0 commented Apr 9, 2022

To be able to parse the Bash scripts into a syntax tree may allow for easier anaysis/parsing of the Bash code at later stages of the project.

  • Determine whether a language tree can be built for bash. If not, determine up to what extent it is possible, and whether this checkstyle could be opinionated such that it only allows for scripts that are suitable to be put into a language tree.
  • Determine whether it is valuable for checkstyle for bash.
  • If considered valuable, determine if there already is such a parser available. If yes, determine if it is better to use that existing code, or to rebuild.
  • If considered valuable, implement the parser such that Bash syntax trees can be generated for the bash scripts.
  • Determine up to what extend Python functions should be rewritten to work on the parser/tree instead of on the bash scripts. And rewrite where necessary.

https://www.oilshell.org/blog/2019/02/07.html
https://hackage.haskell.org/package/language-bash

@a-t-0
Copy link
Member Author

a-t-0 commented Apr 23, 2023

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