News for hackers. Stuff that matters.
Re:RFC 7764 – Guidance on Markdown by gsnedders on Wednesday December 14, 2016 @06:15PM (#13180663)
BNF doesn't make something unambiguous.

I mean, Foo = "hello" / "hello" is totally acceptable, and if you have any indirection like Foo = XXX / YYY with XXX, YYY = "hello" you can then attach different semantics to XXX and YYY despite it being ambiguous. Add in more levels of indirection, and you have a lower chance of it being trivially obvious.

Re:RFC 7764 – Guidance on Markdown by legulere on Thursday December 15, 2016 @03:28AM (#13183242)
But there exist tools to help you decide wether a grammar is unambiguous when you have a formal grammar: https://en.wikipedia.org/wiki/Ambiguous_grammar#Recognizing_...