Re: neos Universal Compiler

Liste des GroupesRevenir à theory 
Sujet : Re: neos Universal Compiler
De : mikko.levanto (at) *nospam* iki.fi (Mikko)
Groupes : comp.theory
Date : 20. Mar 2025, 13:32:02
Autres entêtes
Organisation : -
Message-ID : <vrh1s2$37rio$1@dont-email.me>
References : 1 2 3 4 5 6 7 8 9 10 11 12 13
User-Agent : Unison/2.2
On 2025-03-20 11:16:35 +0000, Alan Mackenzie said:

Mikko <mikko.levanto@iki.fi> wrote:
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) ....
 Most current languages, including C, have different openers and closers
for comments, which is surely analogous.
 
.... and allows any number of nested quotes.
 Ah OK.  Regular expressions can't parse arbitrarily nested structures.
But Backus-Nauer Form can express them, and a push-down automaton can
process them.
 Are you sure about ordinary tokenizers not being able to handle such
arbitrarily nested things in a non-complicated way?
Yes if "ordinary" is defined as one that can only parse a regular
language.
--
Mikko

Date Sujet#  Auteur
15 Mar 25 * Re: neos Universal Compiler35Mikko
16 Mar 25 +* Re: neos Universal Compiler28Mikko
17 Mar 25 i`* Re: neos Universal Compiler27Mikko
18 Mar 25 i `* Re: neos Universal Compiler26Mikko
18 Mar 25 i  +* Re: neos Universal Compiler4Richard Heathfield
18 Mar 25 i  i`* Re: neos Universal Compiler3Richard Heathfield
18 Mar 25 i  i `* Re: neos Universal Compiler2Richard Heathfield
18 Mar 25 i  i  `- Re: neos Universal Compiler1Richard Heathfield
18 Mar 25 i  +- Re: neos Universal Compiler1Andy Walker
19 Mar 25 i  `* Re: neos Universal Compiler20Mikko
19 Mar 25 i   +* Re: neos Universal Compiler4Alan Mackenzie
19 Mar 25 i   i`* Re: neos Universal Compiler3Mikko
20 Mar 25 i   i `* Re: neos Universal Compiler2Alan Mackenzie
20 Mar 25 i   i  `- Re: neos Universal Compiler1Mikko
19 Mar 25 i   `* Re: neos Universal Compiler15Mikko
28 Mar 25 i    `* Re: neos Universal Compiler and FORTRAN IV14Mikko
28 Mar 25 i     +* Re: neos Universal Compiler and FORTRAN IV5Jeff Barnett
29 Mar 25 i     i`* Re: neos Universal Compiler and FORTRAN IV4Jeff Barnett
29 Mar 25 i     i `* Re: neos Universal Compiler and FORTRAN IV3Jeff Barnett
29 Mar 25 i     i  `* Re: neos Universal Compiler and FORTRAN IV2Jeff Barnett
30 Mar 25 i     i   `- Re: neos Universal Compiler and FORTRAN IV1Richard Heathfield
29 Mar 25 i     `* Re: neos Universal Compiler and FORTRAN IV8Mikko
29 Mar 25 i      `* Re: neos Universal Compiler and FORTRAN IV7Richard Heathfield
29 Mar 25 i       +- Re: neos Universal Compiler and FORTRAN IV1Richard Heathfield
30 Mar 25 i       +* Re: neos Universal Compiler and FORTRAN IV3Mikko
30 Mar 25 i       i`* Re: neos Universal Compiler and FORTRAN IV2Richard Heathfield
31 Mar 25 i       i `- Re: neos Universal Compiler and FORTRAN IV1Mikko
30 Mar 25 i       `* Re: neos Universal Compiler and FORTRAN IV2Mikko
31 Mar 25 i        `- Re: neos Universal Compiler and FORTRAN IV1Mikko
16 Mar 25 +* Re: neos Universal Compiler2Richard Heathfield
17 Mar 25 i`- Re: neos Universal Compiler1Mikko
30 Mar 25 `* Re: neos Universal Compiler4Keith Thompson
30 Mar 25  +- Re: neos Universal Compiler1joes
30 Mar 25  `* Re: neos Universal Compiler2Mikko
31 Mar 25   `- Re: neos Universal Compiler1Mikko

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal