Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.compilers > #3553 > unrolled thread

Re: Interesting paper on regex NFA matching

Started byEv Drikos <drikosev@gmail.com>
First post2024-02-04 11:14 +0200
Last post2024-02-04 11:14 +0200
Articles 1 — 1 participant

Back to article view | Back to comp.compilers


Contents

  Re: Interesting paper on regex NFA matching Ev Drikos <drikosev@gmail.com> - 2024-02-04 11:14 +0200

#3553 — Re: Interesting paper on regex NFA matching

FromEv Drikos <drikosev@gmail.com>
Date2024-02-04 11:14 +0200
SubjectRe: Interesting paper on regex NFA matching
Message-ID<24-02-001@comp.compilers>
On 27/01/2024 12:47, Christopher F Clark wrote:

>
> You are mistaken that they are not applicable to programming languages.
>

Hello,

I agree; another example is the keyword FORMAT in Fortran. No matter how
the scanner is implemented, generated or hand coded, the  FORMAT
statement requires forward scanning if the parser is deterministic,
in which case error messages can be IMHO descriptive, as shown ie here:
https://gist.github.com/drikosev/56202b8d928c22da33aebc7cc0e16193

Related examples with the lookahead operator '+:' can be found here:
https://github.com/drikosev/Fortran/blob/master/OMP_Fortran_Scanner.txt

Hope, I'm not out of topic.

Ev. Drikos

[toc] | [standalone]


Back to top | Article view | comp.compilers


csiph-web