Skip to content

Portability.wiki

Shannon Spires edited this page Feb 20, 2016 · 1 revision

This page provides tips and information about how to make your MCL code more portable.

Introduction

Using portable libraries in place of MCL-specific interfaces facilitates that your code can be used with other Common Lisp implementations.

Portable Libraries

This is a list of various portable libraries that are compatible with MCL, providing a shared interface for MCL and other Common Lisp implementations.

System Definition

ASDF System Definition Facility

Note: ASDF may expect user-homedir-pathname to provide the pathname of the current home directory, while MCL by default provides the directory from which MCL was started. Fix by binding ccl::*user-homedir-pathname* to (ccl::findfolder #$kuserdomain #$kCurrentUserFolderType).

Networking

USocket TCP/IP socket interface.

DE.SETF.AMQP - a client library for the Advanced Message Queueing Protocol (AMQP)

File System

CL-FAD pathname library is a thin layer atop the standard pathname functions.