3 ms·
I wasn't trying to be obtuse. Formal grammar / technical documentation style guides consistently define: [ ... ] = optional { ... } = repetition | = alterna
by peteforde 6mo ago
I wasn't trying to be obtuse.
Formal grammar / technical documentation style guides consistently define:
[ ... ] = optional
{ ... } = repetition
| = alternatives
- IshKebab 6mo agoHacker news isn't a formal grammar specification though. People use [1] for references here too (which you could easily have forgotten).