Advertisement

LAMBDALG: Higher order algebraic specification language

  • Yexuan Gui
  • Mitsuhiro Okada
Conference paper
Part of the Lecture Notes in Computer Science book series (LNCS, volume 690)

Abstract

Typed functional languages like ML or Haskel do not allow algebraic definitions of abtract data types and operators although they may employ a very rich machinery for defining polymorphic recursive functions of a higher type. On the other hand, equational languages like OBJ allow arbitrary (first order) algebraic definitions, but they do not have the full-power of parametricity given by ML polylmorphism nor functional definitions of higher types. Under these circumstances it is very attractive to combined these two different kinds of languages to host both features. Then the unified language would allow easy definitions of quite complex objects in a simple declarative style. LAMBDALG is a specification language which hosts both these features. The computation model (operational semantics) of LAMBDALG is based on the combined system of polymorphic typed lambda calculus and the first order and restricted higher order term rewriting in [Jouannaud-Okada 91]. As a high-level specification language, LAMBDALG integrates the OBJ3 style module based algebraic specification language [Goguen-Winkler 88] and the ML style polymorphic typed functional language [Harper et al. 86]. Algebraic definition of abstract data types and context-sensitive definitions of operators can be directly executed, in contrast to the traditional ML-style languages or their extensions (eg. [Mitchell et al. 90]).

Keywords

Specification Language Operational Semantic High Type Functional Language Abstract Data Type 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. [Breazu-Tannen 91].
    Val Breazu-Tannen and Jean Gallier. Polymorphic rewriting conserves algebraic strong normalization. Theoretical Computer Science, 1991. (The former version in ICALP'89)Google Scholar
  2. [Cardelli-Mitchell 89].
    L. Cardelli and J.C. Mitchell. Operations on records. In Math. Foundations of Prog. Lang. Semantics. 1989.Google Scholar
  3. [Dershowitz-Okada 91].
    N. Dershowitz and M. Okada. A rationale for conditional equational programming. Theoretical Computer Science, 1991.Google Scholar
  4. [Futatsugi et al. 85].
    K. Futatsugi, J. Goguen, Jean-Pierre Jouannaud, and J. Meseguer. Principles of OBJ2. ACM POPL'85 Google Scholar
  5. [Goguen et al. 85].
    J. Goguen, Jean-Pierre Jouannaud, and J. Meseguer. Operational semantics for first-order algebra. ICALP'85, Springe LNCS 194 Google Scholar
  6. [Goguen-Winkler 88].
    J. A. Goguen, T. Winkler. Introducing OBJ3. Technical Report SRI-CSL-88-9, Computer Science Laboratory, SRI International, 1988.Google Scholar
  7. [Gui-Okada 93].
    Y. Gui and M. Okada. System Description of LAMBDALG, LPAR'93. (Logic Programming and Automated Reasoning, 1993).Google Scholar
  8. [Harper et al. 86].
    R. Harper, D. MacQueen, and R. Milner. Standard ML, LFCS Report Series, ECS-LFCS-86-2, 1986.Google Scholar
  9. [Jouannaud-Okada 91].
    J. Jouannaud, M. Okada. A computation model for executable higher-order algebraic specification languages. Proc. 6th IEEE LICS. 1991.Google Scholar
  10. [Mitchell et al. 90].
    J. Mitchell, S. Meldal, and N. Madhav. An extension of standard ML modules with subtyping and inheritance. ACM POPL'90 Google Scholar
  11. [Okada 89]
    M. Okada. Strong normalizability for the combined system of the typed lambda calculus and an arbitrary convergent term rewriting system. ACM ISSAC 89 Google Scholar
  12. [Okada 93]
    M. Okada. Type-theoretic term rewriting theory. Technical report. Logic & Formal Methods Lab, Concordia University, 1993.Google Scholar

Copyright information

© Springer-Verlag Berlin Heidelberg 1993

Authors and Affiliations

  • Yexuan Gui
    • 1
  • Mitsuhiro Okada
    • 1
  1. 1.Department of Computer ScienceConcordia UniversityMontrealCanada

Personalised recommendations