RE: Who first invented dotted-item notation?

Christopher F Clark <christopher.f.clark@compiler-resources.com>
Tue, 24 May 2022 11:27:59 +0300

          From comp.compilers

Related articles
Who first invented dotted-item notation? christopher.f.clark@compiler-resources.com (Christopher F Clark) (2022-05-22)
RE: Who first invented dotted-item notation? christopher.f.clark@compiler-resources.com (Christopher F Clark) (2022-05-23)
Re: Who first invented dotted-item notation? gah4@u.washington.edu (gah4) (2022-05-23)
RE: Who first invented dotted-item notation? christopher.f.clark@compiler-resources.com (Christopher F Clark) (2022-05-24)
Re: Who first invented dotted-item notation? antispam@math.uni.wroc.pl (2022-05-28)
| List of all articles for this month |

From: Christopher F Clark <christopher.f.clark@compiler-resources.com>
Newsgroups: comp.compilers
Date: Tue, 24 May 2022 11:27:59 +0300
Organization: Compilers Central
References: 22-05-046 22-05-049
Injection-Info: gal.iecc.com; posting-host="news.iecc.com:2001:470:1f07:1126:0:676f:7373:6970"; logging-data="49566"; mail-complaints-to="abuse@iecc.com"
Keywords: parse, history
Posted-Date: 24 May 2022 11:33:04 EDT

Our wise moderator wrote:
> I believe Chris is asking about the specific use of a dot to show the
> position in a partially parsed BNF rule.


Yes, exactly.


It gives a kind of "operational semantics" to BNF/Regexes. "I am
here. This is what I expect to see next. Or this, or this."


The way many kids learn to write stories with "This happened. And
then this. And then this. And then this." It's considered bad style.
However, it gives a very simple semantics.


Someone must have invented the idea of specifically marking the
rule/regular expression with an indication on where you are in it. It
may be an obvious thing, but someone had to realize that it should be
made explicit and one can reason from it.


Glushkov NFAs have fewer states and epsilon transitions than Thompson
NFAs although both represent the same regular expressions.


It's something I think anyone interested in automata or parsing should
learn. I actually started writing about it in a blog/book I was
thinking of writing on the topic to explain some things like what we
did at Intel making hardware accelerators or how we did ELR parsing
(LR + regular expressions) in Yacc++. Or even how one should look at
PEG grammars or GLR or Okhotin's work. It's a basic foundation and
too many people don't seem to know it. But someone must have first
thought of expressing it that way.


Kind regards,
Chris


--
******************************************************************************
Chris Clark email: christopher.f.clark@compiler-resources.com
Compiler Resources, Inc. Web Site: http://world.std.com/~compres
23 Bailey Rd voice: (508) 435-5016
Berlin, MA 01503 USA twitter: @intel_chris
------------------------------------------------------------------------------


Post a followup to this message

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