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


Groups > comp.compilers > #3118

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

Path csiph.com!weretis.net!feeder6.news.weretis.net!news.misty.com!news.iecc.com!.POSTED.news.iecc.com!nerds-end
From George Neuner <gneuner2@comcast.net>
Newsgroups comp.compilers
Subject Re: Learning only one lexer made me blind to its hidden assumptions
Date Thu, 14 Jul 2022 16:46:36 -0400
Organization A noiseless patient Spider
Lines 22
Sender news@iecc.com
Approved comp.compilers@iecc.com
Message-ID <22-07-017@comp.compilers> (permalink)
References <22-07-006@comp.compilers> <22-07-010@comp.compilers>
Mime-Version 1.0
Content-Type text/plain; charset=us-ascii
Content-Transfer-Encoding 8bit
Injection-Info gal.iecc.com; posting-host="news.iecc.com:2001:470:1f07:1126:0:676f:7373:6970"; logging-data="49458"; mail-complaints-to="abuse@iecc.com"
Keywords lex, performance
Posted-Date 14 Jul 2022 22:18:15 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:3118

Show key headers only | View raw


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

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

But note that Flex /may/ run considerably slower if you make heavy use
of equivalence classes.  IIRC, that results in (moral equivalent of)
NFA rather than DFA.

George
[On modern computers it's hard to imagine a scanner so big that the space
savings from those two options are worth it. 64K PDP-11 and all that. -John]

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


Thread

Learning only one lexer made me blind to its hidden assumptions Roger L Costello <costello@mitre.org> - 2022-07-07 17:49 +0000
  Re: Learning only one lexer made me blind to its hidden assumptions luser droog <luser.droog@gmail.com> - 2022-07-12 19:49 -0700
    Re: Learning only one lexer made me blind to its hidden assumptions Juan Miguel Vilar Torres <jvilar@uji.es> - 2022-07-13 01:46 -0700
  Re: Learning only one lexer made me blind to its hidden assumptions "Ev. Drikos" <drikosev@gmail.com> - 2022-07-13 14:58 +0300
  Re: Learning only one lexer made me blind to its hidden assumptions antispam@math.uni.wroc.pl - 2022-07-13 19:52 +0000
    Re: Learning only one lexer made me blind to its hidden assumptions George Neuner <gneuner2@comcast.net> - 2022-07-14 16:46 -0400
      Re: Learning only one lexer made me blind to its hidden assumptions antispam@math.uni.wroc.pl - 2022-07-15 20:14 +0000
  Re: Learning only one lexer made me blind to its hidden assumptions Kaz Kylheku <480-992-1380@kylheku.com> - 2022-07-15 14:16 +0000

csiph-web