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


Groups > comp.compilers > #3114

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

From antispam@math.uni.wroc.pl
Newsgroups comp.compilers
Subject Re: Learning only one lexer made me blind to its hidden assumptions
Date 2022-07-13 19:52 +0000
Organization Aioe.org NNTP Server
Message-ID <22-07-010@comp.compilers> (permalink)
References <22-07-006@comp.compilers>

Show all headers | View raw


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

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