diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2023-06-11 09:59:39 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2023-06-11 09:59:39 -0700 |
commit | ba062d3eb5cef28d91c01083e840be89aeab38fe (patch) | |
tree | 7cae949a3d27b95bb1d74d4278455ad1e0efc16e | |
parent | 1c009e3e74d00264553084883aac802ac1369af1 (diff) | |
download | tl-who-ba062d3eb5cef28d91c01083e840be89aeab38fe.tar.gz tl-who-ba062d3eb5cef28d91c01083e840be89aeab38fe.tar.bz2 tl-who-ba062d3eb5cef28d91c01083e840be89aeab38fe.zip |
Use load-args-process.
* tl-who.tl: Replace command processor with load-args-process,
which is now in the language as of TXR 288.
* README.md: Now requires 288 not 287.
-rw-r--r-- | README.md | 2 | ||||
-rw-r--r-- | tl-who.tl | 23 |
2 files changed, 2 insertions, 23 deletions
@@ -313,7 +313,7 @@ thus defaulted). TL-WHO has no external dependencies other than TXR itself. -It requires version 287 or newer. +It requires version 288 or newer. ## Installation/Use @@ -24,25 +24,4 @@ ;; NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS ;; SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -;; -;; New, experimental system construction method for TXR Lisp. -;; Using the *load-args* feature introduced in Version 287, -;; we can have a top-level entry point which responds to commands. -;; -;; (load "path/to/tl-who" :compile) ;; compile out-of-date files -;; (load "path/to/tl-who" :clean) ;; remove compiled files -;; (load "path/to/tl-who") ;; load files, compiled or source -;; - -(compile-only - (let ((files '#"tl-who packages specials util who")) - (match-case *load-args* - (() - [mapdo load (cdr files)]) ;; avoid tl-who, this file! - ((:compile) - [mapdo compile-update-file files]) - ((:clean) - [mapdo (op remove-path - (path-cat (dir-name *load-path*) `@1.tlo`) - nil) - files])))) +(compile-only (load-args-process '#"packages specials util who")) |