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


Groups > comp.compilers > #1838

Re: [ANN] RE/flex 0.9.18 - a Flex-like lexical analyzer generator for C++

From Kaz Kylheku <336-986-7787@kylheku.com>
Newsgroups comp.compilers
Subject Re: [ANN] RE/flex 0.9.18 - a Flex-like lexical analyzer generator for C++
Date 2017-03-29 06:42 +0000
Organization Aioe.org NNTP Server
Message-ID <17-03-017@comp.compilers> (permalink)
References <17-03-013@comp.compilers> <17-03-014@comp.compilers> <17-03-015@comp.compilers> <17-03-016@comp.compilers>

Show all headers | View raw


On 2017-03-29, Hans-Peter Diettrich <DrDiettrich1@netscape.net> wrote:
> Am 28.03.2017 um 19:32 schrieb Kaz Kylheku:
>
>> A nice feature in Flex might be parametrized named regexes:
>>
>> You know how we can define
>>
>>   ALF [A-Z]+
>>
>> and later use
>>
>>   {ALF}
> [...]
>
> This reminds me of CoCo/R, where such constructs and extensions are
> available since decades.

The above snippet refers to a feature of Lex that is already
described in the original 1975 paper "Lex --- A Lexical Analyzer Generator"
by M. E. Lesk and E. Schmidt.

It should probably remind everyone of, oh, #define ALF.

The extension I proposed is on the level of #define MAC(X).

Back to comp.compilers | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

[ANN] RE/flex 0.9.18 - a Flex-like lexical analyzer generator for C++ Robert van Engelen <ravengelen@gmail.com> - 2017-03-27 16:58 -0700
  Re: [ANN] RE/flex 0.9.18 - a Flex-like lexical analyzer generator for C++ C Bergström <cbergstrom@pathscale.com> - 2017-03-28 18:03 +0800
    Re: [ANN] RE/flex 0.9.18 - a Flex-like lexical analyzer generator for C++ Kaz Kylheku <336-986-7787@kylheku.com> - 2017-03-28 17:32 +0000
      Re: [ANN] RE/flex 0.9.18 - a Flex-like lexical analyzer generator for C++ Hans-Peter Diettrich <DrDiettrich1@netscape.net> - 2017-03-29 02:13 +0200
        Re: [ANN] RE/flex 0.9.18 - a Flex-like lexical analyzer generator for C++ Kaz Kylheku <336-986-7787@kylheku.com> - 2017-03-29 06:42 +0000

csiph-web