Liste des Groupes | Revenir à c theory |
On 2025-03-19 11:02:49 +0000, Alan Mackenzie said:
Mikko <mikko.levanto@iki.fi> wrote:On 2025-03-18 14:08:50 +0000, Mr Flibble said:
On Tue, 18 Mar 2025 15:59:45 +0200, Mikko wrote:
[ .... ]
Is there a neosBNF schema that describes the tokens of FORtRAN 66 or
Algol 60?
Not yet.
The definition of string literal of Algol 60 would be a good example
of something that cannot be defined with a regular expression and is
therefore impossible or at least complicated with an ordinary tokenizer.
Would you please be more specific about just what in an Algol 60 string
literal prevents a regexp from parsing it. Not for any special reason,
just that I'm curious. Maybe an example of such a string would be
interesting. Thanks!
Algol 60 has different characters for opening and closing quotes (something
like 2018 and 2019 of Unicode) ....
.... and allows any number of nested quotes.
--
Mikko
Les messages affichés proviennent d'usenet.