changelog shortlog graph tags branches changeset files revisions annotate raw help

Mercurial > core / lisp/lib/skel/comp/asd.lisp

changeset 431: c40d2a41d7ce
parent: 8fe057887c17
child: 121a0253aa3c
author: Richard Westhaver <ellis@rwest.io>
date: Sun, 09 Jun 2024 02:04:18 -0400
permissions: -rw-r--r--
description: source concatenating std.lisp, more systems, got zstd simple working, IO work, added dat/tar
1 ;;; lib/skel/comp/asd.lisp --- ASDF System Definition Compiler
2 
3 ;; ASDF/PARSE-DEFSYSTEM may come in handy for testing.
4 
5 ;; The problem with ASD files is that they're read-only afaik - eg
6 ;; there's no 'write' methods implemented on ASD:SYSTEM objects. This
7 ;; makes it a bit tedious because we obviously want to transform
8 ;; SK-LISP-SYSTEM objects directly to SYSTEM, but also need to be able
9 ;; to write them out as discrete files - for portability. Probably
10 ;; will end up violating all that is DRY and holy.
11 
12 ;;; Code:
13 (in-package :skel/comp/asd)
14 
15 (defclass sk-lisp-system (skel sk-meta)
16  (build-pathname entry-point defsystem-depends-on depends-on weakly-depends-on in-order-to if-feature))
17 
18 (defclass sk-lisp-component (skel)
19  (type value))
20 
21 (defmethod sk-compile ((self sk-lisp-system) stream &key &allow-other-keys))
22 
23 (defmethod sk-write-file ((self sk-lisp-system) &key path))
24 
25 (defmethod sk-read-file ((self sk-lisp-system) path))