Code Monkey home page Code Monkey logo

cl-portable's Introduction

cl-portable

License: MIT

Write portable Common Lisp code.

System Requirements

One of the following Common Lisp implementations:

Among those implementations, SBCL is recommended for Lisp newcomers.

Install

$ cd path/to/quicklisp/local-projects
$ git clone https://github.com/cwchentw/cl-portable.git

Use the Library

Compiler

  • compile-program: compile a Common Lisp script in a portable way (ex)

Console

  • argument-vector: unprocessed command-line argument(s) as a list (Windows, Unix)
  • argument-script: command-line argument(s) as a list in scripting mode (Windows, Unix)
  • pwd: present working directory (ex)

System

  • env: to get an environment variable (ex)
  • platform: to detect the underlying OS in a portable way
    • :windows: a Windows family OS
    • :macos: macOS
    • :linux: GNU/Linux
    • :unix: a Unix other than macOS and GUN/Linux
  • quit-with-status: to quit in a portable way, returning an exit status code (ex)

Use the Wrappers

SBCL

  • Install SBCL
  • Copy the wrapper to a valid path of PATH (Windows, Unix)

Clozure CL

  • Download a binary tarball of Clozure CL
  • Add the root path of ccl to PATH
  • Copy the wrapper to the root path of ccl (Windows, Unix)

CLISP

For Windows users:

  • Download a binary tarball of CLISP
  • Add the root path of clisp to PATH
  • Copy the wrapper to the root path of clisp

For Unix users:

  • Install CLISP
  • Copy the wrapper to a valid path of PATH

ECL

For Windows users:

  • Download a source tarball of ECL
  • Compile ECL with MSVC
  • Add path\to\ecl\msvc to PATH
  • Copy the wrapper to path\to\ecl\msvc

For Unix users:

ABCL

  • Install OpenJDK 17
  • Download a binary tarball of ABCL
  • Add the root path of abcl to PATH
  • Copy the wrapper to the root path of abcl (Windows, Unix)

Copyright

Copyright (c) 2022 Michelle Chen. Licensed under MIT

cl-portable's People

Contributors

opensourcedoc avatar

Watchers

 avatar  avatar

Forkers

foss-santanu

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.