Closed
Description
Is your feature request related to a problem? Please describe.
The EBNF is a bit handwavy about whitespace. As it is currently written, no whitespace is permitted in places where we often write spaces in our examples, e.g. around the =
in statements like let $foo = (bar)
Describe the solution you'd like
Go through the EBNF and ensure that we permit (or disallow!) whitespace appropriately. I intend to file a PR for this.
Note that we should discuss whether we permit LWSP or WSP or just our WhiteSpace
production. There are some okay-ish arguments for LWSP or just WSP.
Describe why your solution should shape the standard
Parsers will be written from the EBNF. It should be correct and complete.
Additional context or examples
See above.