home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.ada
- Path: sparky!uunet!noc.near.net!viewlog.viewlogic.com!paulsen
- From: paulsen@mako.viewlogic.com (Bill Paulsen)
- Subject: Conformance rules for subprogram specifications
- Message-ID: <1992Dec22.215839.10969@viewlogic.com>
- Originator: paulsen@mako
- Sender: news@viewlogic.com
- Nntp-Posting-Host: mako
- Organization: Viewlogic Systems, Inc., Marlboro, MA
- Date: Tue, 22 Dec 1992 21:58:39 GMT
- Lines: 30
-
-
- VHDL (which is the VHSIC Hardware Description Language) is currently
- undergoing revision, and one issue is whether to continue using
- lexical based conformance rules.
-
- (Conformance rules are used to decide when two subprogram specifications
- (ie, headers) are the same, for the purpose of identifying the subprogram
- body.)
-
-
- I'd like some comments or a reference to a paper on the rationale for
- Ada to use lexical rather than other approaches.
-
-
- There are three proposals:
-
- 1. Leave it as is, that is, lexical rules, which simply require the
- exact same sequence of lexical elements and their same visibility rule
- meanings. (Comments can be removed.)
-
- 2. A recursive definition of conformance that requires a semantic
- interpretation of the subprogram specifications. Among other things,
- these are used to determine conformance: locally static expression
- evaluations, subexpressions must conform, range and index constraints
- conform if their bounds conform, etc.
-
- 3. The rules of overload resolution are applied to determine conformance.
-
- Thanks,
- Bill Paulsen
-