Open hanbaoqing-byte opened 1 year ago
I am not sure what you mean. You mean something like zsh script?
It is unlikely that any more targets will be added to ANTLR4 as each target then complicates the whole maintenance and release cycle for not a lot of benefit. If you need a new target, it is better to add it yourself.
However, targeting shell script is likely not possible because of the structure of the runtime.
I mean there is no shell.g4 file which can parse shell language.
That would be a feature request in the grammars-v4 repo. Feel free to contribute one.
Did somebody contribute shell.g4 file before? If it exists, please share it to me.
Please move this to the grammars-v4 repo
Ok, thank you. New issue link in grammars-v4 repo is https://github.com/antlr/grammars-v4/issues/3244.
There is no Shell language target. Hope to support shell target.