EBNF Grammar for POSIX Shell

ChubakPDP11+TakeWithGrainOfSalt@programming.dev to Programming@programming.dev – 25 points –
The POSIX Shell Grammar
gist.github.com

I am implementing my own POSIX Shell so I wrote this not to get lost. I posted a much more inferior iteration of this weeks ago ---that one was truly subpar. This one is much better.

Bonus: ebnf.vim.

Thanks.

4

You are viewing a single comment

Apologies. I will definitely fix them. Do you notice any more errors? I myself just realize that-- path expansion could be replaced with actual rules. Thanks again.