comp.lang.ada
 help / color / mirror / Atom feed
From: "Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de>
Subject: Re: Encaspulation: What to export
Date: Wed, 29 Nov 2017 09:40:02 +0100
Date: 2017-11-29T09:40:02+01:00	[thread overview]
Message-ID: <ovlrp2$1pdi$1@gioia.aioe.org> (raw)
In-Reply-To: 8666203a-4e42-438d-8fe0-1a63f643955f@googlegroups.com

On 29/11/2017 00:29, Shark8 wrote:

> Doesn't there have to be some sort of parsing for HTML?

Yes. Parsing presumes a human-readable language. HTML was meant to be 
human-readable.

> I mean, that's why it's not Regular and you [therefore] can't use RegEx for it.

It is a different matter. There are classes of formal languages. Regular 
expressions belong to such a class. If some language is out of the class 
its sentences cannot be recognized/described/generated.

This is not directly related to parsing and parsing is only partially 
about recognizing valid statements. A parser must also deal with invalid 
ones in order to provide meaningful diagnostics and have an output, 
beyond just yes-no.

-- 
Regards,
Dmitry A. Kazakov
http://www.dmitry-kazakov.de

  parent reply	other threads:[~2017-11-29  8:40 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 [this message]
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
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