40 Ants

How to define Common Lisp library in two different ways?


Listen Later

I show you how to describe a Common Lisp system in ASDF. First the traditional way, then a simpler one – using the package-inferred extension.

Usually in Common Lisp systems, only one package is described and dependencies between files are handled manually in an ASD file. The "package inferred" extension makes it easier to describe dependencies by moving them closer to the place where they are used.

In this video, I will demonstrate the features of each of the two ways to describe ASDF systems.

Links

  • Learn more about the difference between packages and asdf systems: https://www.youtube.com/watch?v=fjCLKNvUdD4
  • ASDF documentation about package-inferred extension: https://asdf.common-lisp.dev/asdf/The-package_002dinferred_002dsystem-extension.html
  • Here, over time, a link to the video will appear, how to describe the binary assembly in the ASD file and create a startup file without Roswell.
  • Timecodes

    00:00 Start

    00:56 The simplest ASDF system
    06:08 Unified package.lisp
    07:35 Compilation dependencies
    10:47 Large ASDF systems on the example of Serapeum
    12:20 Package-inferred systems
    19:31 Features and limitations
    23:12 Advantages of package-inferred systems
    24:52 End

    Tags

    #commonlisp #asdf #system #programming #lisp #library #lisp #programming

    ...more
    View all episodesView all episodes
    Download on the App Store

    40 AntsBy