comp.lang.ada
 help / color / mirror / Atom feed
From: Kilgallen@SpamCop.net (Larry Kilgallen)
Subject: Re: Example of OSI package/data structure?
Date: 28 Nov 2001 05:59:11 -0600
Date: 2001-11-28T05:59:11-06:00	[thread overview]
Message-ID: <qE9$bewRrVlp@eisner.encompasserve.org> (raw)
In-Reply-To: 3C04A024.DEAFCE6@meppen.sema.slb.com

In article <3C04A024.DEAFCE6@meppen.sema.slb.com>, Vincent Smeets <VSmeets@meppen.sema.slb.com> writes:

> I have a description of a protocol that has to be coded in Ada95. I it
> now coded (hacked) in a bad form in Ada83 and I want to redesign it for
> Ada95.
> 
> First I need a package structure. I want to decopple every layer as much
> as possible and was thinking of a tagged type for the device and extend
> it in every next layer. I have three ideas from which I think the first
> is the best (your opinion please?):

I think you are starting at the wrong end of the problem.

The first step should be to build an ASN.1 compiler that emits Ada.
In my experience that is much easier for Ada95 than for Ada83 because
of additional attributes for creating access values for precompiled
data.



  parent reply	other threads:[~2001-11-28 11:59 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-11-28  8:28 Example of OSI package/data structure? Vincent Smeets
2001-11-28  9:46 ` Patrick Hohmeyer
2001-11-28 10:47   ` Vincent Smeets
2001-11-30  8:46     ` Patrick Hohmeyer
2001-11-28 11:15 ` David C. Hoos
2001-11-28 11:59 ` Larry Kilgallen [this message]
2001-11-28 12:06 ` Lutz Donnerhacke
2001-11-28 14:49   ` Vincent Smeets
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox