From: "Randy Brukardt" <randy@rrsoftware.com>
Subject: Re: Encaspulation: What to export
Date: Wed, 29 Nov 2017 14:42:05 -0600
Date: 2017-11-29T14:42:05-06:00 [thread overview]
Message-ID: <ovn62u$r17$1@franka.jacob-sparre.dk> (raw)
In-Reply-To: ovmva2$1q20$1@gioia.aioe.org
"Victor Porton" <porton@narod.ru> wrote in message
news:ovmva2$1q20$1@gioia.aioe.org...
...
> I do use the word "parsing" because it uses techniques very similar to
> text
> parsing, namely I use recursive descent.
I'd argue that most of what is typically called "recursive descent" per se
isn't parsing, either, as it is a free-form glob whose set of languages is
rather hard to specify formally. (There is a rather restrictive subset of
"recursive descent" which strictly accepts LL(1) languages; that is the only
thing, IMHO, that deserves the term. That's rarely used in practice for a
variety of reasons, the main one being that LL(1) languages aren't very
interesting.)
>... For example recursive descent may analyze the same fragment of a tree
> more than once or it may skip some parts of the tree entirely.
That's not "recursive descent", that's just some code doing whatever it is
that you need to do. Nothing wrong with that, but calling that "parsing" or
"recursive descent" or anything other well-known term is just abusing those
terms.
Randy.
next prev parent reply other threads:[~2017-11-29 20:42 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-11-27 19:25 Encaspulation: What to export Victor Porton
2017-11-27 20:00 ` Dmitry A. Kazakov
2017-11-27 20:34 ` Victor Porton
2017-11-27 20:35 ` Victor Porton
2017-11-28 2:12 ` Randy Brukardt
2017-11-28 15:22 ` Victor Porton
2017-11-28 22:36 ` Randy Brukardt
2017-11-28 23:29 ` Shark8
2017-11-29 4:44 ` gautier_niouzes
2017-11-29 20:32 ` Randy Brukardt
2017-11-29 21:08 ` gautier_niouzes
2017-11-30 21:42 ` Randy Brukardt
2017-11-29 8:40 ` Dmitry A. Kazakov
2017-11-29 7:31 ` G. B.
2017-11-29 7:38 ` G. B.
2017-11-29 8:14 ` Simon Wright
2017-11-29 18:46 ` Victor Porton
2017-11-29 19:43 ` Dmitry A. Kazakov
2017-11-29 19:57 ` Victor Porton
2017-11-29 20:42 ` Randy Brukardt [this message]
2017-11-29 22:18 ` Shark8
2017-11-27 21:39 ` Simon Wright
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox