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

Kaz Kylheku <336-986-7787@kylheku.com>
Wed, 29 Mar 2017 06:42:24 +0000 (UTC)

          From comp.compilers

Related articles
[ANN] RE/flex 0.9.18 - a Flex-like lexical analyzer generator for C++ ravengelen@gmail.com (Robert van Engelen) (2017-03-27)
Re: [ANN] RE/flex 0.9.18 - a Flex-like lexical analyzer generator for cbergstrom@pathscale.com (=?UTF-8?B?QyBCZXJnc3Ryw7Zt?=) (2017-03-28)
Re: [ANN] RE/flex 0.9.18 - a Flex-like lexical analyzer generator for 336-986-7787@kylheku.com (Kaz Kylheku) (2017-03-28)
Re: [ANN] RE/flex 0.9.18 - a Flex-like lexical analyzer generator for DrDiettrich1@netscape.net (Hans-Peter Diettrich) (2017-03-29)
Re: [ANN] RE/flex 0.9.18 - a Flex-like lexical analyzer generator for 336-986-7787@kylheku.com (Kaz Kylheku) (2017-03-29)
| List of all articles for this month |

From: Kaz Kylheku <336-986-7787@kylheku.com>
Newsgroups: comp.compilers
Date: Wed, 29 Mar 2017 06:42:24 +0000 (UTC)
Organization: Aioe.org NNTP Server
References: 17-03-013 17-03-014 17-03-015 17-03-016
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

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).



Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.