A metaobject protocol for CLforJava

  • Authors:
  • Jay Cotton;Jerry Boetje

  • Affiliations:
  • College of Charleston, Charleston, SC;College of Charleston, Charleston, SC

  • Venue:
  • Proceedings of the 2007 International Lisp Conference
  • Year:
  • 2007

Quantified Score

Hi-index 0.00

Visualization

Abstract

CLforJava is a new implementation of Common Lisp that intertwines its architecture and operation with Java. The authors describe a new architecture for a CLOS MOP that supports transparent, bi-directional access between Lisp and Java. The access requires no special techniques nor syntactic mechanisms on the part of the programmer - being either Java or Lisp. The core of the new MOP is a data structure that melds the fundamental structures of Java instances (N-tuples) and CLOS instances (2-tuples) in such a way that the respective object systems can interact without cumbersome translations. Methods from their respective object systems can interact freely. We discuss certain aspects of the respective MOPs that prevent a complete integration and replacement of one system by the other.