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++

Path csiph.com!goblin3!goblin.stu.neva.ru!news.misty.com!news.iecc.com!.POSTED.news.iecc.com!nerds-end
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 Wed, 29 Mar 2017 06:42:24 +0000 (UTC)
Organization Aioe.org NNTP Server
Lines 25
Sender news@iecc.com
Approved comp.compilers@iecc.com
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>
Injection-Info miucha.iecc.com; posting-host="news.iecc.com:2001:470:1f07:1126:0:676f:7373:6970"; logging-data="14193"; mail-complaints-to="abuse@iecc.com"
Keywords lex
Posted-Date 29 Mar 2017 10:35:40 EDT
X-submission-address compilers@iecc.com
X-moderator-address compilers-request@iecc.com
X-FAQ-and-archives http://compilers.iecc.com
Xref csiph.com comp.compilers:1838

Show key headers only | 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