Re: Fragments

Ben Hanson <jamin.hanson@googlemail.com>
Sun, 22 Dec 2019 11:08:32 -0800 (PST)

          From comp.compilers

Related articles
Fragments borucki.andrzej@gmail.com (Andy) (2019-12-21)
Re: Fragments 493-878-3164@kylheku.com (Kaz Kylheku) (2019-12-21)
Re: Fragments jamin.hanson@googlemail.com (Ben Hanson) (2019-12-22)
| List of all articles for this month |
From: Ben Hanson <jamin.hanson@googlemail.com>
Newsgroups: comp.compilers
Date: Sun, 22 Dec 2019 11:08:32 -0800 (PST)
Organization: Compilers Central
References: 19-12-013
Injection-Info: gal.iecc.com; posting-host="news.iecc.com:2001:470:1f07:1126:0:676f:7373:6970"; logging-data="225"; mail-complaints-to="abuse@iecc.com"
Keywords: lex
Posted-Date: 22 Dec 2019 14:22:47 EST
In-Reply-To: 19-12-013

Have a string token type that auto normalises character ranges.


See https://github.com/BenHanson/lexertl14/blob/master/include/lexertl/string_token.hpp
Regards,


Ben


On Saturday, 21 December 2019 18:10:26 UTC, Andy wrote:
> We can use "fragments" [A-Za-z], [0-9] instead of alone letters.
> Problem that fragments not always are disjoint: digits and all chars, letters and letter 'a', etc.


Post a followup to this message

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