Functional evaluation of natural semantics specifications

Abstract : Typol is a language to implement natural semantics inside the Centaur programming environment. We explain why natural semantics can be considered as a generalization of the attribute grammars formalism. This relationship suggests introducing in the Typol setting some concepts from the attribute grammars framework. With these concepts, we can provide specialized evaluators to some classes of Typol programs, instead of the general Prolog machine currently used to execute such programs. More precisely, we prove that under acceptable conditions, the unification process is no longer required and can be replaced by a simple pattern-matching mechanism. From this proof method, we deduce a functional implementation of Typol programs. We also propose a language construct called CondMatch, that makes it easier to automatically translate a Typol program into a Lisp function.
Type de document :
Rapport
[Research Report] RR-1218, INRIA. 1990
Liste complète des métadonnées

https://hal.inria.fr/inria-00075340
Contributeur : Rapport de Recherche Inria <>
Soumis le : mercredi 24 mai 2006 - 18:00:25
Dernière modification le : jeudi 11 janvier 2018 - 16:08:46
Document(s) archivé(s) le : mardi 12 avril 2011 - 18:33:17

Fichiers

Identifiants

  • HAL Id : inria-00075340, version 1

Collections

Citation

Isabelle Attali, Jacques Chazarain. Functional evaluation of natural semantics specifications. [Research Report] RR-1218, INRIA. 1990. 〈inria-00075340〉

Partager

Métriques

Consultations de la notice

155

Téléchargements de fichiers

62