From: Victor Porton <porton@narod.ru>
Subject: Re: Encaspulation: What to export
Date: Mon, 27 Nov 2017 22:34:39 +0200
Date: 2017-11-27T22:34:39+02:00 [thread overview]
Message-ID: <ovhst9$1a43$1@gioia.aioe.org> (raw)
In-Reply-To: ovhqt6$159h$1@gioia.aioe.org
Dmitry A. Kazakov wrote:
> On 2017-11-27 20:25, Victor Porton wrote:
>> I am writing free software containing a kinda parser, which converts from
>> external representation into the internal format of my Ada program.
>
> What you describe is not a parser, it a deserialization operation.
>
>> What should be in the public package interface and what in package body
>> only?
>
> Serialization/deserialization are public operations of the type (and the
> medium type, e.g. stream type). If the type is public so must be the
> operation. If private, the operation cannot be made public anyway.
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.
--
Victor Porton - http://portonvictor.org
next prev parent reply other threads:[~2017-11-27 20:34 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 [this message]
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
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