X-Git-Url: https://git.rrq.au/?a=blobdiff_plain;f=incore.lsp;h=7203047c0be43aefb1b97d0fc694df61b2878ccf;hb=024c61e9fd4e06ed2586276d7f79340dc58a7d40;hp=2847b54fb101dae94412b1c0504cbf18c54cd204;hpb=c6d3a0b36a69445ab93993b92ec73b090ed8c156;p=rrq%2Fnewlisp%2Fpacknl.git diff --git a/incore.lsp b/incore.lsp index 2847b54..7203047 100644 --- a/incore.lsp +++ b/incore.lsp @@ -70,7 +70,7 @@ ;; Discover and load an in-core archive by means of a marker row of 40 ;; "x", and then a series of pathname\nsize\nbytes[size] members. -(if (find (dup "x" 40) core nil 391704) +(if (find (dup "x" 40) core nil 300000) (let ((P (+ $it 41))) ; skip marker and newline (constant 'incore P) (while (regex "([^\n]+)\n([^\n]+)\n" core 0 P) @@ -85,12 +85,12 @@ (constant 'load - (letex ((LOAD load) (CTX '(if (1 (args)) (args 1)) MAIN)) + (letex ((LOAD load) (CTX '(if (1 (args)) (args 1) MAIN))) (fn () (if (archives (args 0)) (eval-string (archive:get $it (args 0)) CTX) - (LOAD (args 0) CTX)))) + (LOAD (args 0) (eval CTX))))) 'read-file - (letex ((READ-FILE read-file) (CTX '(if (1 (args)) (args 1)) MAIN)) + (letex ((READ-FILE read-file) (CTX '(if (1 (args)) (args 1) MAIN))) (fn () (if (archives (args 0)) (archive:get $it (args 0) CTX) (READ-FILE (args 0)))))