Sujet : Re: backslash in triple quoted string
De : rosuav (at) *nospam* gmail.com (Chris Angelico)
Groupes : comp.lang.pythonDate : 11. May 2025, 11:47:52
Autres entêtes
Message-ID : <mailman.37.1746960486.3008.python-list@python.org>
References : 1 2 3 4 5 6
On Sun, 11 May 2025 at 20:38, Left Right via Python-list
<
python-list@python.org> wrote:
>
My comment was more of an irony really. It's plenty obvious that the
grammar is a lie. The reason is that it's tedious to put the actual
intender rules into the grammar, and so whoever wrote the grammar
decided to cut corners. But, the grammar is supposed to be the
authoritative source for how the language is parsed, that's why even
though it's clear that the grammar is a lie, blaming whoever doesn't
follow it makes it ironic.
Have you ever built a language parser? I'm going to guess you haven't.
ChrisA