Giter Site home page Giter Site logo

clapt's Introduction

Archived. Use roswell instead.

https://spensertruex.com/static/librarian-mini.png

Clapt, having been clapt into existence, is the apt CL package manager.

Clapt

A package managing client. Keep a list of packages efficiently installed.

Install

We need to know which packages are needed, and whether they are from quicklisp.

  1. (asdf:load-system :clapt)
  2. (clapt:install). SBCL will save and die.

By default clapt will try to overwrite your installed core file. This may require root access on your system; alternatively, try (clapt:install :core "path-to-your-core") for a different core.

Adding packages

Call clapt:add with the manager and packages. Current managers are :asdf and :quicklisp.

Updating packages

(clapt:update)

Rationale

Loading a lot of packages from a script is slow, and having to reload the image manually on every update is too laborious. A simple package manager should be able to do all of that.

Alternatives

  • Just write an init script for your lisp like:
(ql:quickload :petalisp)
(ql:quickload :coleslaw)
;;; ... etc.

This is fine if the number of packages is low. Eventually it can start to take too long.

  • Store your core manually.
    1. Write a script like the one above.
    2. load it.
    3. Save your core. SBCL has sb-ext:save-lisp-and-die for this.
    4. Start your lisp with =sbcl –core “path/to/core”= or similar.

This is essentially what this script does, but lacks backups and needs to be done every time the lisp is updated.

  • clpm is another attempt at the same, and has the benefit of removing itself from the core. It has dependencies, and is a bit involved to use.

Supported Systems

Looking to increase the number of items here:

  • SUPPORTED:
    • SBCL
  • TO BE SUPPORTED:
    • Clisp
    • CCL

    -

Contributing

See the TODO file for ideas

License

GNU GPL v3

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.