From JGPB@jbinfo.demon.co.uk Wed Jun 19 06:54:22 1996 Return-Path: Date: Wed, 19 Jun 1996 10:51:18 GMT From: JGPB@jbinfo.demon.co.uk (John Barnes) Reply-To: JGPB@jbinfo.demon.co.uk To: asis-technical@sw-eng.falls-church.va.us Cc: jgpb@jbinfo.demon.co.uk Subject: example in draft Lines: 21 Content-Length: 745 X-Lines: 21 Status: OR There seems to be a serious error in the example on pages viii to xx of the fragment of the draft (1996-06-01) distributed at the ISO meeting last week. It only has a with clause for Asis. It needs with clauses for lots of other things as well such as ASIS_Elements_Kinds and the child packages of Asis such as Asis.Elements. It is good to check such visible examples through a compiler. The question of whether it is good practice to mix a hierarchy of packages and a flat structure in the one standrad also needs to be considered. It might be better if everything were in Asis or a child of Asis. Of course, Asis could be empty apart from its children which is the case with some packages in 95 such as Ada.Characters. -- John Barnes From colket@smtp-gw.spawar.navy.mil Wed Jun 26 14:47:11 1996 Return-Path: Date: Wed, 26 Jun 1996 14:02:57 -0400 From: colket@smtp-gw.spawar.navy.mil (Currie Colket) Subject: Re: example in draft To: asis-technical@sw-eng.falls-church.va.us, JGPB@jbinfo.demon.co.uk (John Barnes) Cc: jgpb@jbinfo.demon.co.uk, "Clyde Roby" Content-Type: text/plain; charset=US-ASCII Content-Description: cc:Mail note part Content-Length: 1818 X-Lines: 43 Status: OR John, Thank you for looking at the ASIS specification. In regards to your comments => > There seems to be a serious error in the example on pages viii to xx > of the fragment of the draft (1996-06-01) distributed at the ISO meeting > last week. It only has a with clause for Asis. > It needs with clauses for lots of other things as well such as > ASIS_Elements_Kinds and the child packages of Asis such as Asis.Elements. > It is good to check such visible examples through a compiler. Mea culpa. Originally the ASIS code example was compiled through Sergey Rybin's ASIS for GNAT compiler. At the time, ASIS for GNAT was based on ASIS Version 2.0.E. A number of things had changed in going to the current version (2.0.G) so several changes were made by hand. Also the example was made simpler for the purpose of using the example on slides. In my zeal to make a clear example for the slides, I turfed the context clause for the example which was later used for the standard. You are right and I apologize. Future examples will be used as compiled. > The question of whether it is good practice to mix a hierarchy of packages > and a flat structure in the one standard also needs to be considered. > It might be better if everything were in Asis or a child of Asis. Of course, > Asis could be empty apart from its children which is the case with some > packages in 95 such as Ada.Characters. Part of our package structure is based on our transition from an ASIS 83 environment. Good coding practice and the potential problem with name spaces indicates that we need to clearly place everything in ASIS or as a child of ASIS. Both of these issues will be tracked until resolved. as 0015 Context Clause Error in ASIS Example & 0016 Place All ASIS Interfaces in ASIS or as Child of ASIS v/r Currie