changeset 29: |
0fc025be1ae0 |
parent 28: |
0184a4fbba68 |
child 30: |
4e73da2d9c63 |
author: |
ellis <ellis@rwest.io> |
date: |
Fri, 29 Dec 2023 21:10:24 -0500 |
files: |
etc/rlwrap/sbcl etc/skel/.bashrc etc/skel/.inputrc makefile scripts/bundle-dir.sh scripts/get-code.sh scripts/get-comp.sh scripts/get-rocksdb.sh scripts/get-sbcl.sh scripts/sc.sh |
description: |
sbcl rlwrap and makefile upgrades |
1.1--- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2+++ b/etc/rlwrap/sbcl Fri Dec 29 21:10:24 2023 -0500
1.3@@ -0,0 +1,978 @@
1.4+&allow-other-keys
1.5+&aux
1.6+&body
1.7+&environment
1.8+&key
1.9+&optional
1.10+&rest
1.11+&whole
1.12+*
1.13+**
1.14+***
1.15+*break-on-signals*
1.16+*compile-file-pathname*
1.17+*compile-file-truename*
1.18+*compile-print*
1.19+*compile-verbose*
1.20+*debug-io*
1.21+*debugger-hook*
1.22+*default-pathname-defaults*
1.23+*error-output*
1.24+*features*
1.25+*gensym-counter*
1.26+*load-pathname*
1.27+*load-print*
1.28+*load-truename*
1.29+*load-verbose*
1.30+*macroexpand-hook*
1.31+*modules*
1.32+*package*
1.33+*print-array*
1.34+*print-base*
1.35+*print-case*
1.36+*print-circle*
1.37+*print-escape*
1.38+*print-gensym*
1.39+*print-length*
1.40+*print-level*
1.41+*print-lines*
1.42+*print-miser-width*
1.43+*print-pprint-dispatch*
1.44+*print-pretty*
1.45+*print-radix*
1.46+*print-readably*
1.47+*print-right-margin*
1.48+*query-io*
1.49+*random-state*
1.50+*read-base*
1.51+*read-default-float-format*
1.52+*read-eval*
1.53+*read-suppress*
1.54+*readtable*
1.55+*standard-input*
1.56+*standard-output*
1.57+*terminal-io*
1.58+*trace-output*
1.59++
1.60+++
1.61++++
1.62+-
1.63+/
1.64+//
1.65+///
1.66+/=
1.67+1+
1.68+1-
1.69+<
1.70+<=
1.71+=
1.72+>
1.73+>=
1.74+abort
1.75+abs
1.76+acons
1.77+acos
1.78+acosh
1.79+add-method
1.80+adjoin
1.81+adjust-array
1.82+adjustable-array-p
1.83+allocate-instance
1.84+alpha-char-p
1.85+alphanumericp
1.86+and
1.87+append
1.88+apply
1.89+apropos
1.90+apropos-list
1.91+aref
1.92+arithmetic-error
1.93+arithmetic-error-operands
1.94+arithmetic-error-operation
1.95+array
1.96+array-dimension
1.97+array-dimension-limit
1.98+array-dimensions
1.99+array-displacement
1.100+array-element-type
1.101+array-has-fill-pointer-p
1.102+array-in-bounds-p
1.103+array-rank
1.104+array-rank-limit
1.105+array-row-major-index
1.106+array-total-size
1.107+array-total-size-limit
1.108+arrayp
1.109+ash
1.110+asin
1.111+asinh
1.112+assert
1.113+assoc
1.114+assoc-if
1.115+assoc-if-not
1.116+atan
1.117+atanh
1.118+atom
1.119+base-char
1.120+base-string
1.121+bignum
1.122+bit
1.123+bit-and
1.124+bit-andc1
1.125+bit-andc2
1.126+bit-eqv
1.127+bit-ior
1.128+bit-nand
1.129+bit-nor
1.130+bit-not
1.131+bit-orc1
1.132+bit-orc2
1.133+bit-vector
1.134+bit-vector-p
1.135+bit-xor
1.136+block
1.137+boole
1.138+boole-1
1.139+boole-2
1.140+boole-and
1.141+boole-andc1
1.142+boole-andc2
1.143+boole-c1
1.144+boole-c2
1.145+boole-clr
1.146+boole-eqv
1.147+boole-ior
1.148+boole-nand
1.149+boole-nor
1.150+boole-orc1
1.151+boole-orc2
1.152+boole-set
1.153+boole-xor
1.154+boolean
1.155+both-case-p
1.156+boundp
1.157+break
1.158+broadcast-stream
1.159+broadcast-stream-streams
1.160+built-in-class
1.161+butlast
1.162+byte
1.163+byte-position
1.164+byte-size
1.165+caaaar
1.166+caaadr
1.167+caaar
1.168+caadar
1.169+caaddr
1.170+caadr
1.171+caar
1.172+cadaar
1.173+cadadr
1.174+cadar
1.175+caddar
1.176+cadddr
1.177+caddr
1.178+cadr
1.179+call-arguments-limit
1.180+call-method
1.181+call-next-method
1.182+car
1.183+case
1.184+catch
1.185+ccase
1.186+cdaaar
1.187+cdaadr
1.188+cdaar
1.189+cdadar
1.190+cdaddr
1.191+cdadr
1.192+cdar
1.193+cddaar
1.194+cddadr
1.195+cddar
1.196+cdddar
1.197+cddddr
1.198+cdddr
1.199+cddr
1.200+cdr
1.201+ceiling
1.202+cell-error
1.203+cell-error-name
1.204+cerror
1.205+change-class
1.206+char
1.207+char-code
1.208+char-code-limit
1.209+char-downcase
1.210+char-equal
1.211+char-greaterp
1.212+char-int
1.213+char-lessp
1.214+char-name
1.215+char-not-equal
1.216+char-not-greaterp
1.217+char-not-lessp
1.218+char-upcase
1.219+char/=
1.220+char<
1.221+char<=
1.222+char=
1.223+char>
1.224+char>=
1.225+character
1.226+characterp
1.227+check-type
1.228+cis
1.229+class
1.230+class-name
1.231+class-of
1.232+clear-input
1.233+clear-output
1.234+close
1.235+clrhash
1.236+code-char
1.237+coerce
1.238+compilation-speed
1.239+compile
1.240+compile-file
1.241+compile-file-pathname
1.242+compiled-function
1.243+compiled-function-p
1.244+compiler-macro
1.245+compiler-macro-function
1.246+complement
1.247+complex
1.248+complexp
1.249+compute-applicable-methods
1.250+compute-restarts
1.251+concatenate
1.252+concatenated-stream
1.253+concatenated-stream-streams
1.254+cond
1.255+condition
1.256+conjugate
1.257+cons
1.258+consp
1.259+constantly
1.260+constantp
1.261+continue
1.262+control-error
1.263+copy-alist
1.264+copy-list
1.265+copy-pprint-dispatch
1.266+copy-readtable
1.267+copy-seq
1.268+copy-structure
1.269+copy-symbol
1.270+copy-tree
1.271+cos
1.272+cosh
1.273+count
1.274+count-if
1.275+count-if-not
1.276+ctypecase
1.277+debug
1.278+decf
1.279+declaim
1.280+declaration
1.281+declare
1.282+decode-float
1.283+decode-universal-time
1.284+defclass
1.285+defconstant
1.286+defgeneric
1.287+define-compiler-macro
1.288+define-condition
1.289+define-method-combination
1.290+define-modify-macro
1.291+define-setf-expander
1.292+define-symbol-macro
1.293+defmacro
1.294+defmethod
1.295+defpackage
1.296+defparameter
1.297+defsetf
1.298+defstruct
1.299+deftype
1.300+defun
1.301+defvar
1.302+delete
1.303+delete-duplicates
1.304+delete-file
1.305+delete-if
1.306+delete-if-not
1.307+delete-package
1.308+denominator
1.309+deposit-field
1.310+describe
1.311+describe-object
1.312+destructuring-bind
1.313+digit-char
1.314+digit-char-p
1.315+directory
1.316+directory-namestring
1.317+disassemble
1.318+division-by-zero
1.319+do
1.320+do*
1.321+do-all-symbols
1.322+do-external-symbols
1.323+do-symbols
1.324+documentation
1.325+dolist
1.326+dotimes
1.327+double-float
1.328+double-float-epsilon
1.329+double-float-negative-epsilon
1.330+dpb
1.331+dribble
1.332+dynamic-extent
1.333+ecase
1.334+echo-stream
1.335+echo-stream-input-stream
1.336+echo-stream-output-stream
1.337+ed
1.338+eighth
1.339+elt
1.340+encode-universal-time
1.341+end-of-file
1.342+endp
1.343+enough-namestring
1.344+ensure-directories-exist
1.345+ensure-generic-function
1.346+eq
1.347+eql
1.348+equal
1.349+equalp
1.350+error
1.351+etypecase
1.352+eval
1.353+eval-when
1.354+evenp
1.355+every
1.356+exp
1.357+export
1.358+expt
1.359+extended-char
1.360+fboundp
1.361+fceiling
1.362+fdefinition
1.363+ffloor
1.364+fifth
1.365+file-author
1.366+file-error
1.367+file-error-pathname
1.368+file-length
1.369+file-namestring
1.370+file-position
1.371+file-stream
1.372+file-string-length
1.373+file-write-date
1.374+fill
1.375+fill-pointer
1.376+find
1.377+find-all-symbols
1.378+find-class
1.379+find-if
1.380+find-if-not
1.381+find-method
1.382+find-package
1.383+find-restart
1.384+find-symbol
1.385+finish-output
1.386+first
1.387+fixnum
1.388+flet
1.389+float
1.390+float-digits
1.391+float-precision
1.392+float-radix
1.393+float-sign
1.394+floating-point-inexact
1.395+floating-point-invalid-operation
1.396+floating-point-overflow
1.397+floating-point-underflow
1.398+floatp
1.399+floor
1.400+fmakunbound
1.401+force-output
1.402+format
1.403+formatter
1.404+fourth
1.405+fresh-line
1.406+fround
1.407+ftruncate
1.408+ftype
1.409+funcall
1.410+function
1.411+function-keywords
1.412+function-lambda-expression
1.413+functionp
1.414+gcd
1.415+generic-function
1.416+gensym
1.417+gentemp
1.418+get
1.419+get-decoded-time
1.420+get-dispatch-macro-character
1.421+get-internal-real-time
1.422+get-internal-run-time
1.423+get-macro-character
1.424+get-output-stream-string
1.425+get-properties
1.426+get-setf-expansion
1.427+get-universal-time
1.428+getf
1.429+gethash
1.430+go
1.431+graphic-char-p
1.432+handler-bind
1.433+handler-case
1.434+hash-table
1.435+hash-table-count
1.436+hash-table-p
1.437+hash-table-rehash-size
1.438+hash-table-rehash-threshold
1.439+hash-table-size
1.440+hash-table-test
1.441+host-namestring
1.442+identity
1.443+if
1.444+ignorable
1.445+ignore
1.446+ignore-errors
1.447+imagpart
1.448+import
1.449+in-package
1.450+incf
1.451+initialize-instance
1.452+inline
1.453+input-stream-p
1.454+inspect
1.455+integer
1.456+integer-decode-float
1.457+integer-length
1.458+integerp
1.459+interactive-stream-p
1.460+intern
1.461+internal-time-units-per-second
1.462+intersection
1.463+invalid-method-error
1.464+invoke-debugger
1.465+invoke-restart
1.466+invoke-restart-interactively
1.467+isqrt
1.468+keyword
1.469+keywordp
1.470+labels
1.471+lambda
1.472+lambda-list-keywords
1.473+lambda-parameters-limit
1.474+last
1.475+lcm
1.476+ldb
1.477+ldb-test
1.478+ldiff
1.479+least-negative-double-float
1.480+least-negative-long-float
1.481+least-negative-normalized-double-float
1.482+least-negative-normalized-long-float
1.483+least-negative-normalized-short-float
1.484+least-negative-normalized-single-float
1.485+least-negative-short-float
1.486+least-negative-single-float
1.487+least-positive-double-float
1.488+least-positive-long-float
1.489+least-positive-normalized-double-float
1.490+least-positive-normalized-long-float
1.491+least-positive-normalized-short-float
1.492+least-positive-normalized-single-float
1.493+least-positive-short-float
1.494+least-positive-single-float
1.495+length
1.496+let
1.497+let*
1.498+lisp-implementation-type
1.499+lisp-implementation-version
1.500+list
1.501+list*
1.502+list-all-packages
1.503+list-length
1.504+listen
1.505+listp
1.506+load
1.507+load-logical-pathname-translations
1.508+load-time-value
1.509+locally
1.510+log
1.511+logand
1.512+logandc1
1.513+logandc2
1.514+logbitp
1.515+logcount
1.516+logeqv
1.517+logical-pathname
1.518+logical-pathname-translations
1.519+logior
1.520+lognand
1.521+lognor
1.522+lognot
1.523+logorc1
1.524+logorc2
1.525+logtest
1.526+logxor
1.527+long-float
1.528+long-float-epsilon
1.529+long-float-negative-epsilon
1.530+long-site-name
1.531+loop
1.532+loop-finish
1.533+lower-case-p
1.534+machine-instance
1.535+machine-type
1.536+machine-version
1.537+macro-function
1.538+macroexpand
1.539+macroexpand-1
1.540+macrolet
1.541+make-array
1.542+make-broadcast-stream
1.543+make-concatenated-stream
1.544+make-condition
1.545+make-dispatch-macro-character
1.546+make-echo-stream
1.547+make-hash-table
1.548+make-instance
1.549+make-instances-obsolete
1.550+make-list
1.551+make-load-form
1.552+make-load-form-saving-slots
1.553+make-method
1.554+make-package
1.555+make-pathname
1.556+make-random-state
1.557+make-sequence
1.558+make-string
1.559+make-string-input-stream
1.560+make-string-output-stream
1.561+make-symbol
1.562+make-synonym-stream
1.563+make-two-way-stream
1.564+makunbound
1.565+map
1.566+map-into
1.567+mapc
1.568+mapcan
1.569+mapcar
1.570+mapcon
1.571+maphash
1.572+mapl
1.573+maplist
1.574+mask-field
1.575+max
1.576+member
1.577+member-if
1.578+member-if-not
1.579+merge
1.580+merge-pathnames
1.581+method
1.582+method-combination
1.583+method-combination-error
1.584+method-qualifiers
1.585+min
1.586+minusp
1.587+mismatch
1.588+mod
1.589+most-negative-double-float
1.590+most-negative-fixnum
1.591+most-negative-long-float
1.592+most-negative-short-float
1.593+most-negative-single-float
1.594+most-positive-double-float
1.595+most-positive-fixnum
1.596+most-positive-long-float
1.597+most-positive-short-float
1.598+most-positive-single-float
1.599+muffle-warning
1.600+multiple-value-bind
1.601+multiple-value-call
1.602+multiple-value-list
1.603+multiple-value-prog1
1.604+multiple-value-setq
1.605+multiple-values-limit
1.606+name-char
1.607+namestring
1.608+nbutlast
1.609+nconc
1.610+next-method-p
1.611+nil
1.612+nintersection
1.613+ninth
1.614+no-applicable-method
1.615+no-next-method
1.616+not
1.617+notany
1.618+notevery
1.619+notinline
1.620+nreconc
1.621+nreverse
1.622+nset-difference
1.623+nset-exclusive-or
1.624+nstring-capitalize
1.625+nstring-downcase
1.626+nstring-upcase
1.627+nsublis
1.628+nsubst
1.629+nsubst-if
1.630+nsubst-if-not
1.631+nsubstitute
1.632+nsubstitute-if
1.633+nsubstitute-if-not
1.634+nth
1.635+nth-value
1.636+nthcdr
1.637+null
1.638+number
1.639+numberp
1.640+numerator
1.641+nunion
1.642+oddp
1.643+open
1.644+open-stream-p
1.645+optimize
1.646+or
1.647+otherwise
1.648+output-stream-p
1.649+package
1.650+package-error
1.651+package-error-package
1.652+package-name
1.653+package-nicknames
1.654+package-shadowing-symbols
1.655+package-use-list
1.656+package-used-by-list
1.657+packagep
1.658+pairlis
1.659+parse-error
1.660+parse-integer
1.661+parse-namestring
1.662+pathname
1.663+pathname-device
1.664+pathname-directory
1.665+pathname-host
1.666+pathname-match-p
1.667+pathname-name
1.668+pathname-type
1.669+pathname-version
1.670+pathnamep
1.671+peek-char
1.672+phase
1.673+pi
1.674+plusp
1.675+pop
1.676+position
1.677+position-if
1.678+position-if-not
1.679+pprint
1.680+pprint-dispatch
1.681+pprint-exit-if-list-exhausted
1.682+pprint-fill
1.683+pprint-indent
1.684+pprint-linear
1.685+pprint-logical-block
1.686+pprint-newline
1.687+pprint-pop
1.688+pprint-tab
1.689+pprint-tabular
1.690+prin1
1.691+prin1-to-string
1.692+princ
1.693+princ-to-string
1.694+print
1.695+print-not-readable
1.696+print-not-readable-object
1.697+print-object
1.698+print-unreadable-object
1.699+probe-file
1.700+proclaim
1.701+prog
1.702+prog*
1.703+prog1
1.704+prog2
1.705+progn
1.706+program-error
1.707+progv
1.708+provide
1.709+psetf
1.710+psetq
1.711+push
1.712+pushnew
1.713+quote
1.714+random
1.715+random-state
1.716+random-state-p
1.717+rassoc
1.718+rassoc-if
1.719+rassoc-if-not
1.720+ratio
1.721+rational
1.722+rationalize
1.723+rationalp
1.724+read
1.725+read-byte
1.726+read-char
1.727+read-char-no-hang
1.728+read-delimited-list
1.729+read-from-string
1.730+read-line
1.731+read-preserving-whitespace
1.732+read-sequence
1.733+reader-error
1.734+readtable
1.735+readtable-case
1.736+readtablep
1.737+real
1.738+realp
1.739+realpart
1.740+reduce
1.741+reinitialize-instance
1.742+rem
1.743+remf
1.744+remhash
1.745+remove
1.746+remove-duplicates
1.747+remove-if
1.748+remove-if-not
1.749+remove-method
1.750+remprop
1.751+rename-file
1.752+rename-package
1.753+replace
1.754+require
1.755+rest
1.756+restart
1.757+restart-bind
1.758+restart-case
1.759+restart-name
1.760+return
1.761+return-from
1.762+revappend
1.763+reverse
1.764+room
1.765+rotatef
1.766+round
1.767+row-major-aref
1.768+rplaca
1.769+rplacd
1.770+safety
1.771+satisfies
1.772+sbit
1.773+scale-float
1.774+schar
1.775+search
1.776+second
1.777+sequence
1.778+serious-condition
1.779+set
1.780+set-difference
1.781+set-dispatch-macro-character
1.782+set-exclusive-or
1.783+set-macro-character
1.784+set-pprint-dispatch
1.785+set-syntax-from-char
1.786+setf
1.787+setq
1.788+seventh
1.789+shadow
1.790+shadowing-import
1.791+shared-initialize
1.792+shiftf
1.793+short-float
1.794+short-float-epsilon
1.795+short-float-negative-epsilon
1.796+short-site-name
1.797+signal
1.798+signed-byte
1.799+signum
1.800+simple-array
1.801+simple-base-string
1.802+simple-bit-vector
1.803+simple-bit-vector-p
1.804+simple-condition
1.805+simple-condition-format-arguments
1.806+simple-condition-format-control
1.807+simple-error
1.808+simple-string
1.809+simple-string-p
1.810+simple-type-error
1.811+simple-vector
1.812+simple-vector-p
1.813+simple-warning
1.814+sin
1.815+single-float
1.816+single-float-epsilon
1.817+single-float-negative-epsilon
1.818+sinh
1.819+sixth
1.820+sleep
1.821+slot-boundp
1.822+slot-exists-p
1.823+slot-makunbound
1.824+slot-missing
1.825+slot-unbound
1.826+slot-value
1.827+software-type
1.828+software-version
1.829+some
1.830+sort
1.831+space
1.832+special
1.833+special-operator-p
1.834+speed
1.835+sqrt
1.836+stable-sort
1.837+standard
1.838+standard-char
1.839+standard-char-p
1.840+standard-class
1.841+standard-generic-function
1.842+standard-method
1.843+standard-object
1.844+step
1.845+storage-condition
1.846+store-value
1.847+stream
1.848+stream-element-type
1.849+stream-error
1.850+stream-error-stream
1.851+stream-external-format
1.852+streamp
1.853+string
1.854+string-capitalize
1.855+string-downcase
1.856+string-equal
1.857+string-greaterp
1.858+string-left-trim
1.859+string-lessp
1.860+string-not-equal
1.861+string-not-greaterp
1.862+string-not-lessp
1.863+string-right-trim
1.864+string-stream
1.865+string-trim
1.866+string-upcase
1.867+string/=
1.868+string<
1.869+string<=
1.870+string=
1.871+string>
1.872+string>=
1.873+stringp
1.874+structure
1.875+structure-class
1.876+structure-object
1.877+style-warning
1.878+sublis
1.879+subseq
1.880+subsetp
1.881+subst
1.882+subst-if
1.883+subst-if-not
1.884+substitute
1.885+substitute-if
1.886+substitute-if-not
1.887+subtypep
1.888+svref
1.889+sxhash
1.890+symbol
1.891+symbol-function
1.892+symbol-macrolet
1.893+symbol-name
1.894+symbol-package
1.895+symbol-plist
1.896+symbol-value
1.897+symbolp
1.898+synonym-stream
1.899+synonym-stream-symbol
1.900+t
1.901+tagbody
1.902+tailp
1.903+tan
1.904+tanh
1.905+tenth
1.906+terpri
1.907+the
1.908+third
1.909+throw
1.910+time
1.911+trace
1.912+translate-logical-pathname
1.913+translate-pathname
1.914+tree-equal
1.915+truename
1.916+truncate
1.917+two-way-stream
1.918+two-way-stream-input-stream
1.919+two-way-stream-output-stream
1.920+type
1.921+type-error
1.922+type-error-datum
1.923+type-error-expected-type
1.924+type-of
1.925+typecase
1.926+typep
1.927+unbound-slot
1.928+unbound-slot-instance
1.929+unbound-variable
1.930+undefined-function
1.931+unexport
1.932+unintern
1.933+union
1.934+unless
1.935+unread-char
1.936+unsigned-byte
1.937+untrace
1.938+unuse-package
1.939+unwind-protect
1.940+update-instance-for-different-class
1.941+update-instance-for-redefined-class
1.942+upgraded-array-element-type
1.943+upgraded-complex-part-type
1.944+upper-case-p
1.945+use-package
1.946+use-value
1.947+user-homedir-pathname
1.948+values
1.949+values-list
1.950+variable
1.951+vector
1.952+vector-pop
1.953+vector-push
1.954+vector-push-extend
1.955+vectorp
1.956+warn
1.957+warning
1.958+when
1.959+wild-pathname-p
1.960+with-accessors
1.961+with-compilation-unit
1.962+with-condition-restarts
1.963+with-hash-table-iterator
1.964+with-input-from-string
1.965+with-open-file
1.966+with-open-stream
1.967+with-output-to-string
1.968+with-package-iterator
1.969+with-simple-restart
1.970+with-slots
1.971+with-standard-io-syntax
1.972+write
1.973+write-byte
1.974+write-char
1.975+write-line
1.976+write-sequence
1.977+write-string
1.978+write-to-string
1.979+y-or-n-p
1.980+yes-or-no-p
1.981+zerop
1.982\ No newline at end of file
2.1--- a/etc/skel/.bashrc Sun Dec 24 13:53:30 2023 -0500
2.2+++ b/etc/skel/.bashrc Fri Dec 29 21:10:24 2023 -0500
2.3@@ -12,6 +12,7 @@
2.4 export LANG=en_US.UTF-8
2.5
2.6 export LISP='sbcl'
2.7+export lr='rlwrap sbcl' # lisp repl
2.8 export ESHELL='/usr/bin/bash'
2.9 export ORGANIZATION='The Compiler Company'
2.10 export LANG=en_US.UTF-8
3.1--- /dev/null Thu Jan 01 00:00:00 1970 +0000
3.2+++ b/etc/skel/.inputrc Fri Dec 29 21:10:24 2023 -0500
3.3@@ -0,0 +1,1 @@
3.4+TAB: complete
3.5\ No newline at end of file
4.1--- a/makefile Sun Dec 24 13:53:30 2023 -0500
4.2+++ b/makefile Fri Dec 29 21:10:24 2023 -0500
4.3@@ -23,8 +23,9 @@
4.4 SRC:=comp
4.5 HG_COMMIT:=$(shell hg id -i)
4.6
4.7-init:sbcl rust emacs rocksdb code virt;
4.8-dist:dist/bundle dist/cdn dist/sbcl dist/rocksdb # dist/linux dist/rust
4.9+# init:sbcl rust emacs rocksdb comp virt;
4.10+# dist/linux dist/rust dist/bundle
4.11+all:dist/cdn dist/comp dist/fasl dist/sbcl dist/rocksdb dist/emacs
4.12 clean:;rm -rf $(B) $(D)
4.13 $(B):;mkdir -pv $@/src
4.14 $(D):;mkdir -pv $@
4.15@@ -54,17 +55,16 @@
4.16 cd $(EMACS_TARGET) && make install
4.17
4.18 ### RocksDB
4.19-ROCKSDB_TARGET:=build/src/rocksdb-$(ROCKSDB_VERSION)
4.20+ROCKSDB_TARGET:=build/src/rocksdb
4.21 rocksdb:scripts/get-rocksdb.sh;
4.22- $< $(ROCKSDB_VERSION)
4.23+ $<
4.24 cd $(ROCKSDB_TARGET) && \
4.25 make shared_lib DISABLE_JEMALLOC=1
4.26
4.27 ### SBCL
4.28-SBCL_TARGET:=build/src/sbcl-$(SBCL_VERSION)
4.29-
4.30+SBCL_TARGET:=build/src/sbcl
4.31 $(SBCL_TARGET):scripts/get-sbcl.sh $(B);
4.32- $< $(SBCL_VERSION)
4.33+ $<
4.34 cd $(SBCL_TARGET) && \
4.35 echo '"2.3.12+main"' > version.lisp-expr && \
4.36 sh make.sh \
4.37@@ -77,7 +77,7 @@
4.38 cd doc/manual && make
4.39 sbcl:$(SBCL_TARGET)
4.40 sbcl-install:sbcl;cd $(SBCL_TARGET) && ./install.sh
4.41-clean-sbcl:;rm -rf $(SBCL_TARGET)
4.42+clean-sbcl:$(SBCL_TARGET);cd $(SBCL_TARGET) && ./clean.sh
4.43
4.44 ### Rust
4.45 RUST_TARGET:=build/src/rust-$(RUST_VERSION)
4.46@@ -98,12 +98,12 @@
4.47 TS_LANGS_TARGET:=build/src/ts-langs
4.48 ts-langs:scripts/ts-install-langs.sh # this requires sudo for now
4.49
4.50-### Code
4.51-CODE_TARGET:=build/src/$(SRC)
4.52-code:scripts/get-code.sh $(B)
4.53+### Comp
4.54+COMP_TARGET:=build/src/$(SRC)
4.55+comp:scripts/get-comp.sh $(B)
4.56 $< $(SRC)
4.57
4.58-clean-code::;rm -rf $(CODE_TARGET)
4.59+clean-comp::;rm -rf $(COMP_TARGET)
4.60
4.61 ### Virt
4.62 dev-pod:virt/build-pod.sh
4.63@@ -131,10 +131,15 @@
4.64
4.65 dist/cdn:cdn $(D)
4.66 mkdir -pv $@
4.67- cp -r $^ $@
4.68+ cp -r $</* $@
4.69
4.70 dist/sbcl:sbcl $(D);
4.71- $(SBCL_TARGET)/install.sh --prefix=$(D)
4.72+ mkdir -pv $@
4.73+ cp $(SBCL_TARGET)/src/runtime/sbcl $@
4.74+ cp $(SBCL_TARGET)/output/sbcl.core $@
4.75+ cp -r $(SBCL_TARGET)/contrib $@
4.76+ cd $(SBCL_TARGET) && ./clean.sh
4.77+ tar -I 'zstd' -cf $@/sbcl-source.tar.zst --exclude .git $(SBCL_TARGET)
4.78
4.79 dist/linux:linux $(D);
4.80
4.81@@ -148,8 +153,22 @@
4.82
4.83 dist/emacs:emacs-build $(D);
4.84
4.85+dist/fasl:scripts/sbcl-save-core.sh
4.86+ mkdir -pv $@
4.87+ $< "$@/std.core"
4.88+ $< "$@/prelude.core" "(mapc #'ql:quickload \
4.89+ (list :nlp :rdb :organ :packy :skel :obj :net :parse :pod :dat :log :packy :rt :syn :xdb))"
4.90+ $< "$@/rdb.core" "(ql:quickload :rdb)"
4.91+ $< "$@/organ.core" "(ql:quickload :organ)"
4.92+ $< "$@/skel.core" "(ql:quickload :skel)"
4.93+ $< "$@/pod.core" "(ql:quickload :pod)"
4.94+ $< "$@/cli.core" "(ql:quickload :cli)"
4.95+
4.96+dist/comp:comp
4.97+ mkdir -pv $@
4.98+ cp -r $(COMP_TARGET)/{org,core,infra,demo,nas-t} $@
4.99 clean-dist:;rm -rf $(D)
4.100 clean-build:;rm -rf $(B)
4.101
4.102 ### Quickstart
4.103-quick:init code
4.104+quick:comp
5.1--- a/scripts/bundle-dir.sh Sun Dec 24 13:53:30 2023 -0500
5.2+++ b/scripts/bundle-dir.sh Fri Dec 29 21:10:24 2023 -0500
5.3@@ -1,7 +1,7 @@
5.4 #!/bin/bash
5.5 # bundle a tar.zst archive of Mercurial repositories.
5.6-#WD=/mnt/y/data/packy
5.7-WD=$(realpath dist)
5.8+WD=/mnt/y/data/packy
5.9+#WD=$(realpath dist)
5.10 OUT=$WD/bundle/src
5.11 SRC_PATH=$HOME/dev/comp
5.12 BUNDLE_NAME="${1:-comp}"
6.1--- a/scripts/get-code.sh Sun Dec 24 13:53:30 2023 -0500
6.2+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
6.3@@ -1,17 +0,0 @@
6.4-#!/bin/bash
6.5-# Get The Compiler Company source code
6.6-SRC="${1:-comp}"
6.7-OUT=build/comp-$(date "+%Y%m%d")
6.8-mkdir -pv $OUT
6.9-pushd $OUT
6.10-wget https://packy.compiler.company/bundle/src/$SRC.tar.zst
6.11-unzstd $SRC.tar.zst
6.12-tar -xvf $SRC.tar
6.13-rm -rf $SRC.tar.zst $SRC.tar
6.14-for f in $(find . -name *.hg.zst); do
6.15- echo "";
6.16- echo $f;
6.17- hg clone $f $(basename "$f" .hg.zst)
6.18- echo "... Done.";
6.19-done
6.20-popd
7.1--- /dev/null Thu Jan 01 00:00:00 1970 +0000
7.2+++ b/scripts/get-comp.sh Fri Dec 29 21:10:24 2023 -0500
7.3@@ -0,0 +1,17 @@
7.4+#!/bin/bash
7.5+# Get The Compiler Company source code
7.6+SRC="${1:-comp}"
7.7+OUT=build/src/$SRC
7.8+mkdir -pv $OUT
7.9+pushd $OUT
7.10+wget https://packy.compiler.company/bundle/src/$SRC.tar.zst
7.11+unzstd $SRC.tar.zst
7.12+tar -xvf $SRC.tar
7.13+rm -rf $SRC.tar.zst $SRC.tar
7.14+for f in $(find . -name *.hg.zst); do
7.15+ echo "";
7.16+ echo $f;
7.17+ hg clone $f $(basename "$f" .hg.zst)
7.18+ echo "... Done.";
7.19+done
7.20+popd
8.1--- a/scripts/get-rocksdb.sh Sun Dec 24 13:53:30 2023 -0500
8.2+++ b/scripts/get-rocksdb.sh Fri Dec 29 21:10:24 2023 -0500
8.3@@ -1,5 +1,4 @@
8.4 #!/usr/bin/bash
8.5 # get RocksDB source code
8.6-VER="${1:-main}"
8.7-TARGETDIR=${2:-$(realpath build/src/rocksdb-$VER)}
8.8+TARGETDIR=${2:-$(realpath build/src/rocksdb)}
8.9 git clone https://vc.compiler.company/packy/shed/vendor/rocksdb.git $TARGETDIR
9.1--- a/scripts/get-sbcl.sh Sun Dec 24 13:53:30 2023 -0500
9.2+++ b/scripts/get-sbcl.sh Fri Dec 29 21:10:24 2023 -0500
9.3@@ -1,5 +1,5 @@
9.4 #!/usr/bin/env bash
9.5 # get SBCL source code
9.6 VER="${1:-main}"
9.7-TARGETDIR=${2:-$(realpath build/src/sbcl-$VER)}
9.8+TARGETDIR=${2:-$(realpath build/src/sbcl)}
9.9 git clone https://vc.compiler.company/packy/shed/vendor/sbcl.git $TARGETDIR
10.1--- a/scripts/sc.sh Sun Dec 24 13:53:30 2023 -0500
10.2+++ b/scripts/sc.sh Fri Dec 29 21:10:24 2023 -0500
10.3@@ -1,2 +1,3 @@
10.4 #!/bin/sh
10.5-import png:- >> ${1:-"$(date +%s).png"}
10.6+# take screenshot of current window on sway
10.7+swaymsg -t get_tree | jq -r '.. | select(.focused?) | .rect | "\(.x),\(.y) \(.width)x\(.height)"' | grim -g - ${1:-"$(date +%s).png"}