Re: Learning only one lexer made me blind to its hidden assumptions

antispam@math.uni.wroc.pl
Wed, 13 Jul 2022 19:52:45 -0000 (UTC)

          From comp.compilers

Related articles
Learning only one lexer made me blind to its hidden assumptions costello@mitre.org (Roger L Costello) (2022-07-07)
Re: Learning only one lexer made me blind to its hidden assumptions luser.droog@gmail.com (luser droog) (2022-07-12)
Re: Learning only one lexer made me blind to its hidden assumptions jvilar@uji.es (Juan Miguel Vilar Torres) (2022-07-13)
Re: Learning only one lexer made me blind to its hidden assumptions drikosev@gmail.com (Ev. Drikos) (2022-07-13)
Re: Learning only one lexer made me blind to its hidden assumptions antispam@math.uni.wroc.pl (2022-07-13)
Re: Learning only one lexer made me blind to its hidden assumptions gneuner2@comcast.net (George Neuner) (2022-07-14)
Re: Learning only one lexer made me blind to its hidden assumptions 480-992-1380@kylheku.com (Kaz Kylheku) (2022-07-15)
Re: Learning only one lexer made me blind to its hidden assumptions antispam@math.uni.wroc.pl (2022-07-15)
| List of all articles for this month |

From: antispam@math.uni.wroc.pl
Newsgroups: comp.compilers
Date: Wed, 13 Jul 2022 19:52:45 -0000 (UTC)
Organization: Aioe.org NNTP Server
References: 22-07-006
Injection-Info: gal.iecc.com; posting-host="news.iecc.com:2001:470:1f07:1126:0:676f:7373:6970"; logging-data="30201"; mail-complaints-to="abuse@iecc.com"
Keywords: flex
Posted-Date: 13 Jul 2022 15:59:03 EDT

Roger L Costello <costello@mitre.org> wrote:
> Below I have documented some of the differences between Lex/Flex and ScanGen.
<snip>


> Difference:
> - Flex deals with individual characters
> - ScanGen lumps characters into character classes and deals with classes. Use
> of character classes decreases (quite significantly) the size of the
> transition table


Hmm, from flex manual:


: -Ce, --ecs
: construct equivalence classes
:
: -Cm, --meta-ecs
: construct meta-equivalence classes


If you want smaller tables use options above and flex DFA will
work on character classes.


--
                                                            Waldek Hebisch


Post a followup to this message

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