Passer à la navigation principale Passer à la recherche Passer au contenu principal

Abstract syntax and logic programming

  • School of Engineering and Applied Science

Résultats de recherche: Le chapitre dans un livre, un rapport, une anthologie ou une collectionContribution à une conférenceRevue par des pairs

19 Citations (Scopus)

Résumé

When writing programs to manipulate structures such as algebraic expressions, logical formulas, proofs, and programs, it is highly desirable to take the linear, human-oriented, concrete syntax of these structures and parse them into a more computation-oriented syntax. For a wide variety of manipulations, concrete syntax contains too much useless information (e.g., keywords and white space) while important information is not explicitly represented (e.g., function-argument relations and the scope of operators). In parse trees, much of the semantically useless information is removed while other relationships, such as between function and argument, are made more explicit. Unfortunately, parse trees do not adequately address important notions of object-level syntax, such as bound and free object-variables, scopes, alphabetic changes of bound variables, and object-level substitution. I will argue here that the abstract syntax of such objects should be organized around α-equivalence classes of λ-terms instead of parse trees. Incorporating this notion of abstract syntax into programming languages is an interesting challenge. This paper briefly describes a logic programming language that directly supports this notion of syntax. An example specifications in this programming language is presented to illustrate its approach to handling object-level syntax. A model theoretic semantics for this logic programming language is also presented.

langue originaleAnglais
titreLogic Programming - 1st Russian Conference on Logic Programming and 2nd Russian Conference on Logic Programming, Proceedings
rédacteurs en chefAndrei Voronkov, Andrei Voronkov
EditeurSpringer Verlag
Pages322-337
Nombre de pages16
ISBN (imprimé)9783540554608
Les DOIs
étatPublié - 1 janv. 1992
Modification externeOui
Evénement2nd Russian Conference on Logic Programming, 1991 - St. Petersburg, Russie
Durée: 11 sept. 199116 sept. 1991

Série de publications

NomLecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)
Volume592 LNCS
ISSN (imprimé)0302-9743
ISSN (Electronique)1611-3349

Une conférence

Une conférence2nd Russian Conference on Logic Programming, 1991
Pays/TerritoireRussie
La villeSt. Petersburg
période11/09/9116/09/91

Empreinte digitale

Examiner les sujets de recherche de « Abstract syntax and logic programming ». Ensemble, ils forment une empreinte digitale unique.

Contient cette citation