From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=unavailable autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!feeder.eternal-september.org!feeder.erje.net!1.eu.feeder.erje.net!news.albasani.net!newsfeed.xs3.de!io.xs3.de!news.jacob-sparre.dk!franka.jacob-sparre.dk!pnx.dk!.POSTED.rrsoftware.com!not-for-mail From: "Randy Brukardt" Newsgroups: comp.lang.ada Subject: Re: Encaspulation: What to export Date: Tue, 28 Nov 2017 16:36:21 -0600 Organization: JSA Research & Innovation Message-ID: References: Injection-Date: Tue, 28 Nov 2017 22:36:21 -0000 (UTC) Injection-Info: franka.jacob-sparre.dk; posting-host="rrsoftware.com:24.196.82.226"; logging-data="8070"; mail-complaints-to="news@jacob-sparre.dk" X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.5931 X-RFC2646: Format=Flowed; Original X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.7246 Xref: reader02.eternal-september.org comp.lang.ada:49226 Date: 2017-11-28T16:36:21-06:00 List-Id: "Victor Porton" wrote in message news:ovjv01$1r5c$1@gioia.aioe.org... > Randy Brukardt wrote: > >> "Victor Porton" wrote in message >> news:ovhst9$1a43$1@gioia.aioe.org... >> ... >>> I parse not a string but an RDF tree. It is similar to convert AST >>> (abstract >>> syntax tree) to another format. RDF is similar to an AST but more >>> abstract. >>> >>> So it is NOT a deserialization operation in Ada sense. >> >> Calling the operation of creating an RDF (or XML or HTML or SGML ...) >> tree >> from "parsing" is a gross distortion from what really is going on. As > > No. I "parse" RDF (not a text file) and create data in other format. Yes, you (do something, but don't parse) RDF and create some other format. Format transformations surely don't require parsing. My objection is that what you are doing to create that other format is not parsing; it's rather just a text to tree transformation that is deterministic (really a very simple state machine). Calling that "parsing" trivializes the much more complex languages that parsers can make sense of. None of the on-line languages (with the possible exception of CSS) require any parsing; SGML was designed to not require parsing and all of these other formats kept the basic design of SGML. Randy.