|
ABSTRACT
A simple programming language “extension,” Graspe, for processing directed graphs is defined. Graspe consists of a type of directed graph data structure and a set of primitive operations for manipulating these structures. Graspe may be most easily implemented by embedding it in a host language. Emphasis is placed both on Graspe itself and on its method of definition. Commonly, the definition of a language involves definition of the syntactic elements and explanation of the meaning to be assigned them (the semantics). The definition of Graspe here is solely in terms of its semantics; that is, the data structures and operations are defined precisely but without assignment of a particular syntactic representation. Only when the language is implemented is assignment of an explicit syntax necessary. An example of an implementation of Graspe embedded in Lisp is given as an illustration. The advantages and disadvantages of the definition of a language in terms of its semantics are discussed.
REFERENCES
Note: OCR errors may be found in this Reference List extracted from the full text article. ACM has opted to expose the complete List rather than only correct and linked references.
 |
1
|
J. W. Backus , F. L. Bauer , J. Green , C. Katz , J. McCarthy , A. J. Perlis , H. Rutishauser , K. Samelson , B. Vauquois , J. H. Wegstein , A. van Wijngaarden , M. Woodger , P. Naur, Revised report on the algorithm language ALGOL 60, Communications of the ACM, v.6 n.1, p.1-17, Jan. 1963
[doi> 10.1145/366193.366201]
|
 |
2
|
|
| |
3
|
Lucas, P., et al. Method and notation for the formal definition of programming languages. TR 25.087, IBM, Vienna, June 1968 (see also related reports).
|
| |
4
|
Hart, R. HINT: A graph processing language. Computer Inst. for Social Science Res., Michigan State U., East Lansing, Mich., Feb. 1969.
|
 |
5
|
|
| |
6
|
Friedman, D., Dickson, D., Fraser, J., and Pratt, T. W. GRASPE 1.5: A graph processor and its application. Rep. on ONR-CONTRACr N00014-68-a-01-51, Dep. Comput. Sci., U. of Houston, Texas, Aug. 1969.
|
 |
7
|
|
 |
8
|
|
| |
9
|
Pratt, T. W. A hierarchical graph model of the semantics of programs. Proc. AFIPS 1969 S~CC, Vol. 34, AHPS Press, Montvale, N.J., pp. 813-825.
|
| |
10
|
Narashiman, R. Programming languages and computers: A unified metatheory. In Advances in Computers, Vol. 8, F. L. Alt, Ed., Academic, New York, 1967.
|
| |
11
|
Friedman, D. P. ORASPE graph processing: A LISP extension. Rep. TNN-84, Comput. Ctr., U. of Texas, Austin, 1968.
|
 |
12
|
|
| |
13
|
Weissman, C. LISP 1.5 Primer. Dickenson Pub. Co., Belmont, Calif., 1968.
|
|