ref: 9ce6f3b9c5fc94822e03512337c47ce076ff30fc
parent: c0ce2f17a380f920f6756b1a03080679e73ecdd1
author: Sigrid Solveig Haflínudóttir <[email protected]>
date: Sat Mar 25 16:41:10 EDT 2023
bootstrap: make it easy to change vm opcodes * generate tables for opcodes/builtins from a single file * mkboot0: load the "new" compiler and switch to it before compiling boot file
--- a/.gitignore
+++ b/.gitignore
@@ -10,3 +10,5 @@
/flisp.boot.bak
/flisp.boot.new
boot.h
+instructions.lsp
+builtins.lsp
--- a/bootstrap.sh
+++ b/bootstrap.sh
@@ -4,7 +4,8 @@
cp flisp.boot flisp.boot.bak
echo "Creating stage 0 boot file..."
-./flisp mkboot0.lsp system.lsp compiler.lsp > flisp.boot.new
+./flisp gen.lsp
+./flisp mkboot0.lsp instructions.lsp builtins.lsp system.lsp compiler.lsp > flisp.boot.new
mv flisp.boot.new flisp.boot
echo "Creating stage 1 boot file..."
--- a/compiler.lsp
+++ b/compiler.lsp
@@ -1,53 +1,5 @@
; -*- scheme -*-
-(define Instructions
- (let ((e (table))
- (keys
- #(nop dup pop call tcall jmp brf brt jmp.l brf.l brt.l ret
-
- eq? eqv? equal? atom? not null? boolean? symbol?
- number? bound? pair? builtin? vector? fixnum? function?
-
- cons list car cdr set-car! set-cdr!
- apply
-
- + - * / div0 = < compare
-
- vector aref aset!
-
- loadt loadf loadnil load0 load1 loadi8
- loadv loadv.l
- loadg loadg.l
- loada loada.l loadc loadc.l
- setg setg.l
- seta seta.l setc setc.l
-
- closure argc vargc trycatch for tapply
- add2 sub2 neg largc lvargc
- loada0 loada1 loadc00 loadc01 call.l tcall.l
- brne brne.l cadr brnn brnn.l brn brn.l
- optargs brbound keyargs
-
- dummy_t dummy_f dummy_nil)))
- (for 0 (1- (length keys))
- (lambda (i)
- (put! e (aref keys i) i)))))
-
-(define arg-counts
- (table eq? 2 eqv? 2
- equal? 2 atom? 1
- not 1 null? 1
- boolean? 1 symbol? 1
- number? 1 bound? 1
- pair? 1 builtin? 1
- vector? 1 fixnum? 1
- cons 2 car 1
- cdr 1 set-car! 2
- set-cdr! 2 = 2
- < 2 compare 2
- aref 2 aset! 3
- div0 2))
-
(define (make-code-emitter) (vector () (table) 0 +inf.0))
(define (bcode:code b) (aref b 0))
(define (bcode:ctable b) (aref b 1))
@@ -358,7 +310,7 @@
set-cdr! 'set-cdr! / '/
function? 'function? vector 'vector
list 'list bound? 'bound?
- < '< * '* cdr 'cdr null? 'null?
+ < '< * '* cdr 'cdr cadr 'cadr null? 'null?
+ '+ eqv? 'eqv? compare 'compare aref 'aref
set-car! 'set-car! car 'car
pair? 'pair? = '= vector? 'vector?)))
--- a/flisp.boot
+++ b/flisp.boot
@@ -1,77 +1,79 @@
(*banner* "; _\n; |_ _ _ |_ _ | . _ _\n; | (-||||_(_)|__|_)|_)\n;-------------------|----------------------------------------------------------\n\n"
- *builtins* #(0 0 0 0 0 0 0 0 0 0 0 0 #fn("7000r2|}<;" #())
- #fn("7000r2|}=;" #())
- #fn("7000r2|}>;" #())
- #fn("6000r1|?;" #())
- #fn("6000r1|@;" #())
- #fn("6000r1|A;" #())
- #fn("6000r1|B;" #())
- #fn("6000r1|C;" #())
- #fn("6000r1|D;" #())
- #fn("6000r1|E;" #())
- #fn("6000r1|F;" #())
- #fn("6000r1|G;" #())
- #fn("6000r1|H;" #())
- #fn("6000r1|I;" #())
- #fn("6000r1|J;" #())
- #fn("7000r2|}K;" #())
- #fn("8000s0|;" #())
- #fn("6000r1|M;" #())
- #fn("6000r1|N;" #())
- #fn("7000r2|}O;" #())
- #fn("7000r2|}P;" #())
- #fn("9000s0c0|v2;" #(#.apply))
- #fn("9000s0c0|v2;" #(#.+))
- #fn("9000s0c0|v2;" #(#.-))
- #fn("9000s0c0|v2;" #(#.*))
- #fn("9000s0c0|v2;" #(#./))
- #fn("9000s0c0|v2;" #(#.div0))
- #fn("7000r2|}W;" #())
- #fn("7000r2|}X;" #())
- #fn("7000r2|}Y;" #())
- #fn("9000s0c0|v2;" #(#.vector))
- #fn("7000r2|}[;" #())
- #fn("8000r3|}g2\\;" #()))
+ *builtins* #(0 0 0 0 #fn("6000x1\x814S" #())
+ #fn("6000x1\x815S" #())
+ #fn("6000x1\x816S" #())
+ #fn("6000x1\x817S" #()) 0 0 #fn("6000x1\x81:S" #())
+ #fn("6000x1\x81;S" #())
+ #fn("6000x1\x81<S" #())
+ #fn("6000x1\x81=S" #())
+ #fn("6000x1\x81>S" #())
+ #fn("6000x1\x81?S" #())
+ #fn("6000x1\x81@S" #())
+ #fn("6000x1\x81AS" #())
+ #fn("6000x1\x81BS" #())
+ #fn("6000x1\x81CS" #())
+ #fn("6000x1\x81DS" #()) 0 #fn("7000x2\x81\x82FS" #())
+ #fn("7000x2\x81\x82GS" #())
+ #fn("7000x2\x81\x82HS" #()) 0 0 0 0 0 0 0 0 0 0 0 #fn("7000x2\x81\x82TS" #())
+ #fn("7000x2\x81\x82US" #())
+ #fn("7000x2\x81\x82VS" #())
+ #fn("8000y0\x81S" #())
+ #fn("9000y0j0\x81|2S" #(#.apply))
+ #fn("9000y0j0\x81|2S" #(#.+))
+ #fn("9000y0j0\x81|2S" #(#.-))
+ #fn("9000y0j0\x81|2S" #(#.*))
+ #fn("9000y0j0\x81|2S" #(#./))
+ #fn("9000y0j0\x81|2S" #(#.div0))
+ #fn("7000x2\x81\x82^S" #())
+ #fn("7000x2\x81\x82_S" #())
+ #fn("7000x2\x81\x82`S" #())
+ #fn("7000x2\x81\x82aS" #())
+ #fn("9000y0j0\x81|2S" #(#.vector))
+ #fn("8000x3\x81\x82n2cS" #()) 0 0 0 0 0 0 0 0 0 0 0 0 0
+ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
+ 0 0 0)
*interactive* #f *syntax-environment*
- #table(letrec #fn("?000s1c0c0c1L1c2c3|32L1c2c4|32c5}3134L1c2c6|3242;" #(#fn(nconc)
- lambda #fn(map) #.car #fn("9000r1c0c1L1c2|3142;" #(#fn(nconc) set! #fn(copy-list)))
- #fn(copy-list) #fn("6000r1e040;" #(void)))) quasiquote #fn("8000r1e0|`42;" #(bq-process)) when #fn("<000s1c0|c1}K^L4;" #(if
- begin)) unwind-protect #fn("8000r2c0qc130c13042;" #(#fn("@000r2c0}c1_\x7fL3L2L1c2c3~c1|L1c4}L1c5|L2L3L3L3}L1L3L3;" #(let
- lambda prog1 trycatch begin raise)) #fn(gensym))) dotimes #fn(";000s1c0q|M|\x8442;" #(#fn("=000r2c0`c1}aL3c2c3L1|L1L1c4\x7f3133L4;" #(for
- - #fn(nconc) lambda #fn(copy-list))))) define-macro #fn("?000s1c0c1|ML2c2c3L1|NL1c4}3133L3;" #(set-syntax!
- quote #fn(nconc) lambda #fn(copy-list))) receive #fn("@000s2c0c1_}L3c2c1L1|L1c3g23133L3;" #(call-with-values
- lambda #fn(nconc) #fn(copy-list))) unless #fn("=000s1c0|^c1}KL4;" #(if begin)) let* #fn("A000s1|?6E0c0c1L1_L1c2}3133L1;c0c1L1e3|31L1L1c2|NF6H0c0c4L1|NL1c2}3133L1530}3133e5|31L2;" #(#fn(nconc)
- lambda #fn(copy-list) caar let* cadar)) case #fn(":000s1c0q]41;" #(#fn("7000r1c0m02c1qc23041;" #(#fn("9000r2}c0\x8250c0;}\x8540^;}C6=0c1|e2}31L3;}?6=0c3|e2}31L3;}N\x85>0c3|e2}M31L3;e4c5}326=0c6|c7}L2L3;c8|c7}L2L3;" #(else
+ #table(letrec #fn("?000y1j0j0j1W1j2j3\x81K2W1j2j4\x81K2j5\x82K1K4W1j2j6\x81K2L2S" #(#fn(nconc)
+ lambda #fn(map) #.car #fn("9000x1j0j1W1j2\x81K1L2S" #(#fn(nconc) set! #fn(copy-list)))
+ #fn(copy-list) #fn("6000x1l0L0S" #(void)))) quasiquote #fn("8000x1l0\x81gL2S" #(bq-process)) when #fn("<000y1j0\x81j1\x82FeW4S" #(if
+ begin)) unwind-protect #fn("8000x2j09j1K0j1K0L2S" #(#fn("@000x2j0\x82j1f\x84W3W2W1j2j3\x83j1\x81W1j4\x82W1j5\x81W2W3W3W3\x82W1W3W3S" #(let
+ lambda prog1 trycatch begin raise)) #fn(gensym))) dotimes #fn(";000y1j09\x814\x816L2S" #(#fn("=000x2j0gj1\x82hW3j2j3W1\x81W1W1j4\x84K1K3W4S" #(for
+ - #fn(nconc) lambda #fn(copy-list))))) define-macro #fn("?000y1j0j1\x814W2j2j3W1\x815W1j4\x82K1K3W3S" #(set-syntax!
+ quote #fn(nconc) lambda #fn(copy-list))) receive #fn("@000y2j0j1f\x82W3j2j1W1\x81W1j3n2K1K3W3S" #(call-with-values
+ lambda #fn(nconc) #fn(copy-list))) unless #fn("=000y1j0\x81ej1\x82FW4S" #(if
+ begin)) let* #fn("A000y1\x81;NE0j0j1W1fW1j2\x82K1K3W1Sj0j1W1l3\x81K1W1W1j2\x815:NH0j0j4W1\x815W1j2\x82K1K3W1M30\x82K1K3l5\x81K1W2S" #(#fn(nconc)
+ lambda #fn(copy-list) caar let* cadar)) case #fn(":000y1j09dL1S" #(#fn("7000x1j0t0Jj19j2K0L1S" #(#fn("9000x2\x82j0\x8750j0S\x82\x8940eS\x82>N=0j1\x81l2\x82K1W3S\x82;N=0j3\x81l2\x82K1W3S\x825\x89>0j3\x81l2\x824K1W3Sl4j5\x82K2N=0j6\x81j7\x82W2W3Sj8\x81j7\x82W2W3S" #(else
eq? quote-value eqv? every #.symbol? memq quote memv) vals->cond)
- #fn("<000r1c0|i10L2L1c1c2L1c3c4qi113232L3;" #(let #fn(nconc) cond #fn(map)
- #fn("8000r1i10~|M32|NK;" #())))
- #fn(gensym))))) catch #fn("7000r2c0qc13041;" #(#fn("@000r1c0\x7fc1|L1c2c3c4|L2c5c6|L2c7c8L2L3c5c9|L2~L3L4c:|L2c;|L2L4L3L3;" #(trycatch
+ #fn("<000x1j0\x81p10W2W1j1j2W1j3j49p11K2K2W3S" #(let #fn(nconc) cond #fn(map)
+ #fn("8000x1p10\x83\x814K2\x815FS" #())))
+ #fn(gensym))))) catch #fn("7000x2j09j1K0L1S" #(#fn("@000x1j0\x84j1\x81W1j2j3j4\x81W2j5j6\x81W2j7j8W2W3j5j9\x81W2\x83W3W4j:\x81W2j;\x81W2W4W3W3S" #(trycatch
lambda if and pair? eq car quote thrown-value cadr caddr raise))
- #fn(gensym))) assert #fn("<000r1c0|]c1c2c3|L2L2L2L4;" #(if
- raise quote assert-failed)) do #fn("A000s2c0qc130}Mc2c3|32c2e4|32c2c5|3245;" #(#fn("B000r5c0|c1g2c2}c3c4L1c5\x7fN3132c3c4L1c5i0231c3|L1g432L133L4L3L2L1c3|L1g332L3;" #(letrec
+ #fn(gensym))) assert #fn("<000x1j0\x81dj1j2j3\x81W2W2W2W4S" #(if
+ raise quote assert-failed)) do #fn("A000y2j09j1K0\x824j2j3\x81K2j2j4\x81K2j2j5\x81K2L5S" #(#fn("B000x5j0\x81j1n2j2\x82j3j4W1j5\x845K1K2j3j4W1j5p02K1j3\x81W1n4K2W1K3W4W3W2W1j3\x81W1n3K2W3S" #(letrec
lambda if #fn(nconc) begin #fn(copy-list)))
- #fn(gensym) #fn(map) #.car cadr #fn("7000r1e0|31F680e1|41;|M;" #(cddr caddr)))) with-input-from #fn("=000s1c0c1L1c2|L2L1L1c3}3143;" #(#fn(nconc)
- with-bindings *input-stream* #fn(copy-list))) let #fn(":000s1c0q^41;" #(#fn("<000r1~C6D0~m02\x7fMo002\x7fNo01530]2c0qc1c2L1c3c4~32L1c5\x7f3133c3c6~3242;" #(#fn("8000r2~6@0c0~|L2L1~L3530|}K;" #(letrec))
- #fn(nconc) lambda #fn(map) #fn("6000r1|F650|M;|;" #())
- #fn(copy-list) #fn("6000r1|F650|\x84;e040;" #(void)))))) cond #fn("9000s0c0q]41;" #(#fn("7000r1c0qm02|~41;" #(#fn("7000r1|?640^;c0q|M41;" #(#fn(":000r1|Mc0<17702|M]<6@0|N\x8550|M;c1|NK;|N\x85@0c2|Mi10~N31L3;|\x84c3\x82W0e4e5|31316A0c6qe7e5|313141;c8qc93041;c:|Mc1|NKi10~N31L4;" #(else
- begin or => 1arg-lambda? caddr #fn("=000r1c0|~ML2L1c1|c2e3e4~3131Ki20i10N31L4L3;" #(let
- if begin cddr caddr)) caadr #fn("<000r1c0|~ML2L1c1|e2~31|L2i20i10N31L4L3;" #(let
- if caddr)) #fn(gensym) if))) cond-clauses->if))))) throw #fn(":000r2c0c1c2c3L2|}L4L2;" #(raise
- list quote thrown-value)) time #fn("7000r1c0qc13041;" #(#fn(">000r1c0|c1L1L2L1c2~c3c4c5c1L1|L3c6L4L3L3;" #(let
+ #fn(gensym) #fn(map) #.car #.cadr #fn("7000x1l0\x81K1:N80l1\x81L1S\x814S" #(cddr
+ caddr)))) with-input-from #fn("=000y1j0j1W1j2\x81W2W1W1j3\x82K1L3S" #(#fn(nconc)
+ with-bindings *input-stream* #fn(copy-list))) let #fn(":000y1j09eL1S" #(#fn("<000x1\x83>ND0\x83t0J\x844v00J\x845v01M30dJj09j1j2W1j3j4\x83K2W1j5\x84K1K3j3j6\x83K2L2S" #(#fn("8000x2\x83N@0j0\x83\x81W2W1\x83W3M30\x81\x82FS" #(letrec))
+ #fn(nconc) lambda #fn(map) #fn("6000x1\x81:N50\x814S\x81S" #())
+ #fn(copy-list) #fn("6000x1\x81:N50\x816Sl0L0S" #(void)))))) cond #fn("9000y0j09dL1S" #(#fn("7000x1j09t0J\x81\x83L1S" #(#fn("7000x1\x81;N40eSj09\x814L1S" #(#fn(":000x1\x814j0TIO70J\x814dTN@0\x815\x8950\x814Sj1\x815FS\x815\x89@0j2\x814p10\x835K1W3S\x816j3\x87W0l4l5\x81K1K1NA0j69l7l5\x81K1K1L1Sj89j9K0L1Sj:\x814j1\x815Fp10\x835K1W4S" #(else
+ begin or => 1arg-lambda? caddr #fn("=000x1j0\x81\x834W2W1j1\x81j2l3l4\x83K1K1Fp20p105K1W4W3S" #(let
+ if begin cddr caddr)) caadr #fn("<000x1j0\x81\x834W2W1j1\x81l2\x83K1\x81W2p20p105K1W4W3S" #(let
+ if caddr)) #fn(gensym) if))) cond-clauses->if))))) throw #fn(":000x2j0j1j2j3W2\x81\x82W4W2S" #(raise
+ list quote thrown-value)) time #fn("7000x1j09j1K0L1S" #(#fn(">000x1j0\x81j1W1W2W1j2\x83j3j4j5j1W1\x81W3j6W4W3W3S" #(let
time.now prog1 princ "Elapsed time: " - " seconds\n"))
- #fn(gensym))) with-output-to #fn("=000s1c0c1L1c2|L2L1L1c3}3143;" #(#fn(nconc)
- with-bindings *output-stream* #fn(copy-list))) with-bindings #fn(">000s1c0qc1c2|32c1e3|32c1c4|3243;" #(#fn("B000r3c0c1L1c2c3g2|33L1c4c2c5|}3331c6c0c7L1c4\x7f3132c0c7L1c4c2c8|g2333132L3L144;" #(#fn(nconc)
- let #fn(map) #.list #fn(copy-list) #fn("8000r2c0|}L3;" #(set!))
- unwind-protect begin #fn("8000r2c0|}L3;" #(set!))))
- #fn(map) #.car cadr #fn("6000r1c040;" #(#fn(gensym))))))
+ #fn(gensym))) with-output-to #fn("=000y1j0j1W1j2\x81W2W1W1j3\x82K1L3S" #(#fn(nconc)
+ with-bindings *output-stream* #fn(copy-list))) with-bindings #fn(">000y1j09j1j2\x81K2j1j3\x81K2j1j4\x81K2L3S" #(#fn("B000x3j0j1W1j2j3n2\x81K3W1j4j2j5\x81\x82K3K1j6j0j7W1j4\x84K1K2j0j7W1j4j2j8\x81n2K3K1K2W3W1L4S" #(#fn(nconc)
+ let #fn(map) #.list #fn(copy-list) #fn("8000x2j0\x81\x82W3S" #(set!))
+ unwind-protect begin #fn("8000x2j0\x81\x82W3S" #(set!))))
+ #fn(map) #.car #.cadr #fn("6000x1j0L0S" #(#fn(gensym))))))
*whitespace* "\t\n\v\f\r \u0085 \u2028\u2029 " 1+
- #fn("7000r1|aw;" #() 1+) 1- #fn("7000r1|ax;" #() 1-) 1arg-lambda?
- #fn("8000r1|F16T02|Mc0<16J02|NF16B02|\x84F16:02e1|\x84a42;" #(lambda
+ #fn("7000x1\x81h}S" #() 1+) 1- #fn("7000x1\x81h~S" #() 1-)
+ 1arg-lambda? #fn("8000x1\x81:INT0J\x814j0TINJ0J\x815:INB0J\x816:IN:0Jl1\x816hL2S" #(lambda
length=) 1arg-lambda?)
- <= #fn("7000r2}|X17B02e0|3116802e0}31@;" #(nan?) <=) >
- #fn("7000r2}|X;" #() >) >= #fn("7000r2|}X17B02e0|3116802e0}31@;" #(nan?) >=)
- Instructions #table(not 16 vargc 67 load1 49 = 39 setc.l 64 sub2 72 brne.l 83 largc 74 brnn 85 loadc.l 58 loadi8 50 < 40 nop 0 set-cdr! 32 loada 55 bound? 21 / 37 neg 73 brn.l 88 lvargc 75 brt 7 trycatch 68 null? 17 load0 48 jmp.l 8 loadv 51 seta 61 keyargs 91 * 36 function? 26 builtin? 23 aref 43 optargs 89 vector? 24 loadt 45 brf 6 symbol? 19 cdr 30 for 69 loadc00 78 pop 2 pair? 22 cadr 84 closure 65 loadf 46 compare 41 loadv.l 52 setg.l 60 brn 87 eqv? 13 aset! 44 eq? 12 atom? 15 boolean? 18 brt.l 10 tapply 70 dummy_nil 94 loada0 76 brbound 90 list 28 dup 1 apply 33 loadc 57 loadc01 79 dummy_t 92 setg 59 loada1 77 tcall.l 81 jmp 5 fixnum? 25 cons 27 loadg.l 54 tcall 4 call 3 - 35 brf.l 9 + 34 dummy_f 93 add2 71 seta.l 62 loadnil 47 brnn.l 86 setc 63 set-car! 31 vector 42 loadg 53 loada.l 56 argc 66 div0 38 ret 11 number? 20 equal? 14 car 29 call.l 80 brne 82)
- __init_globals #fn("6000r0c0k12c2k32e4k52e6k72e8k9;" #("/"
+ <= #fn("7000x2\x82\x81_IOB0Jl0\x81K1IN80Jl0\x82K17S" #(nan?) <=) >
+ #fn("7000x2\x82\x81_S" #() >) >= #fn("7000x2\x81\x82_IOB0Jl0\x81K1IN80Jl0\x82K17S" #(nan?) >=)
+ Instructions #table(brne 87 vargc 73 load1 56 = 46 setc.l 71 sub2 78 brne.l 88 largc 79 brnn 89 loadc.l 65 loadi8 57 < 47 nop 21 set-cdr! 24 neg 8 bound? 17 / 44 loada 62 brn.l 92 lvargc 80 brt 31 trycatch 74 null? 12 load0 55 jmp.l 32 loadv 58 seta 68 keyargs 95 * 43 function? 19 builtin? 18 aref 49 optargs 93 vector? 20 loadt 52 cdr 5 cadr 6 symbol? 14 brf 30 for 75 pop 26 pair? 10 loadc00 83 closure 9 loadf 53 compare 48 loadv.l 59 setg.l 67 brn 91 eqv? 37 aset! 51 atom? 11 boolean? 13 eq? 36 brt.l 34 tapply 76 dummy_nil 2 loada0 81 brbound 94 dup 25 dummy_t 1 list 39 apply 40 loadc 64 loadc01 84 setg 66 loada1 82 tcall.l 86 jmp 29 fixnum? 16 cons 22 loadg.l 61 tcall 28 dummy_eof 3 call 27 - 42 brf.l 33 + 41 dummy_f 0 add2 77 seta.l 69 loadnil 54 brnn.l 90 setc 70 set-car! 23 vector 50 loadg 60 loada.l 63 argc 72 div0 45 car 4 number? 15 ret 35 equal? 38 call.l 85 not 7)
+ __init_globals #fn("6000x0j0r1Jj2r3Jl4r5Jl6r7Jl8r9S" #("/"
*directory-separator*
"\n"
*linefeed*
@@ -81,84 +83,87 @@
*input-stream*
*stderr*
*error-stream*) __init_globals)
- __script #fn("7000r1c0qc1t;" #(#fn("7000r0e0~41;" #(load))
- #fn("7000r1e0|312c1a41;" #(top-level-exception-handler
- #fn(exit)))) __script)
- __start #fn("8000r1e0302|NF6D0|Nk12^k22e3|\x84315E0|k12]k22e4e5312e6302c7`41;" #(__init_globals
+ __script #fn("7000x1j09j1zS" #(#fn("7000x0l0\x83L1S" #(load))
+ #fn("7000x1l0\x81K1Jj1hL1S" #(top-level-exception-handler
+ #fn(exit)))) __script)
+ __start #fn("8000x1l0K0J\x815:ND0\x815r1Jer2Jl3\x816K1ME0\x81r1Jdr2Jl4l5K1Jl6K0Jj7gL1S" #(__init_globals
*argv* *interactive* __script princ *banner* repl #fn(exit)) __start)
- abs #fn("7000r1|`X650|y;|;" #() abs) any
- #fn("8000r2}F16D02|}M3117:02e0|}N42;" #(any) any) arg-counts #table(#.equal? 2 #.atom? 1 #.set-cdr! 2 #.symbol? 1 #.car 1 #.eq? 2 #.aref 2 #.boolean? 1 #.not 1 #.null? 1 #.eqv? 2 #.number? 1 #.pair? 1 #.builtin? 1 #.aset! 3 #.div0 2 #.= 2 #.bound? 1 #.compare 2 #.vector? 1 #.cdr 1 #.set-car! 2 #.< 2 #.fixnum? 1 #.cons 2)
- argc-error #fn("<000r2e0c1|c2}}aW670c3540c445;" #(error "compile error: "
- " expects " " argument."
- " arguments.") argc-error)
- array? #fn("8000r1|H17<02c0c1|3141;" #(#fn("7000r1|F16802|Mc0<;" #(array))
- #fn(typeof)) array?)
- assoc #fn("8000r2}?640^;e0}31|>650}M;e1|}N42;" #(caar assoc) assoc)
- assv #fn("8000r2}?640^;e0}31|=650}M;e1|}N42;" #(caar assv) assv)
- bcode:cdepth #fn(":000r2|b3e0|b3[}32\\;" #(min) bcode:cdepth)
- bcode:code #fn("7000r1|`[;" #() bcode:code) bcode:ctable
- #fn("7000r1|a[;" #() bcode:ctable) bcode:indexfor #fn("9000r2c0qe1|31e2|3142;" #(#fn(":000r2c0|\x7f32690c1|\x7f42;c2|\x7f}332}~b2}aw\\2;" #(#fn(has?)
+ abs #fn("7000x1\x81g_N50\x818S\x81S" #() abs) any
+ #fn("8000x2\x82:IND0J\x81\x824K1IO:0Jl0\x81\x825L2S" #(any) any)
+ arg-counts #table(null? 1 atom? 1 boolean? 1 eq? 2 function? 1 builtin? 1 = 2 aref 2 vector? 1 cdr 1 cadr 1 symbol? 1 pair? 1 set-car! 2 compare 2 < 2 fixnum? 1 div0 2 car 1 number? 1 set-cdr! 2 equal? 2 cons 2 bound? 1 eqv? 2 aset! 3 not 1)
+ argc-error #fn("<000x2l0j1\x81j2\x82\x82h^N70j3M40j4L5S" #(error "compile error: "
+ " expects " " argument." " arguments.") argc-error)
+ array? #fn("8000x1\x81DIO<0Jj0j1\x81K1L1S" #(#fn("7000x1\x81:IN80J\x814j0TS" #(array))
+ #fn(typeof)) array?)
+ assoc #fn("8000x2\x82;N40eSl0\x82K1\x81VN50\x824Sl1\x81\x825L2S" #(caar
+ assoc) assoc)
+ assv #fn("8000x2\x82;N40eSl0\x82K1\x81UN50\x824Sl1\x81\x825L2S" #(caar
+ assv) assv)
+ bcode:cdepth #fn(":000x2\x81i3l0\x81i3a\x82K2cS" #(min) bcode:cdepth)
+ bcode:code #fn("7000x1\x81gaS" #() bcode:code) bcode:ctable
+ #fn("7000x1\x81haS" #() bcode:ctable) bcode:indexfor #fn("9000x2j09l1\x81K1l2\x81K1L2S" #(#fn(":000x2j0\x81\x84K2N90j1\x81\x84L2Sj2\x81\x84\x82K3J\x82\x83i2\x82h}cJS" #(#fn(has?)
#fn(get) #fn(put!))) bcode:ctable bcode:nconst) bcode:indexfor)
- bcode:nconst #fn("7000r1|b2[;" #() bcode:nconst) bq-bracket
- #fn("<000r2|?6=0c0e1|}32L2;|Mc2\x82R0}`W680c0|NK;c0c3c4e1|N}ax32L3L2;|Mc5\x82S0}`W690c6|\x84L2;c0c0c7e1|\x84}ax32L3L2;|Mc8\x82O0}`W650|\x84;c0c0c9e1|\x84}ax32L3L2;c0e1|}32L2;" #(#.list
+ bcode:nconst #fn("7000x1\x81i2aS" #() bcode:nconst) bq-bracket
+ #fn("<000x2\x81;N=0j0l1\x81\x82K2W2S\x814j2\x87R0\x82g^N80j0\x815FSj0j3j4l1\x815\x82h~K2W3W2S\x814j5\x87S0\x82g^N90j6\x816W2Sj0j0j7l1\x816\x82h~K2W3W2S\x814j8\x87O0\x82g^N50\x816Sj0j0j9l1\x816\x82h~K2W3W2Sj0l1\x81\x82K2W2S" #(#.list
bq-process unquote #.cons 'unquote unquote-splicing copy-list 'unquote-splicing
unquote-nsplicing 'unquote-nsplicing) bq-bracket)
- bq-bracket1 #fn(";000r2|F16802|Mc0<6K0}`W650|\x84;c1c2e3|N}ax32L3;e3|}42;" #(unquote
+ bq-bracket1 #fn(";000x2\x81:IN80J\x814j0TNK0\x82g^N50\x816Sj1j2l3\x815\x82h~K2W3Sl3\x81\x82L2S" #(unquote
#.cons 'unquote bq-process) bq-bracket1)
- bq-process #fn(";000r2|C680c0|L2;|H6A0c1e2e3|31}3241;|?640|;|Mc4\x82B0c5c6e2|\x84}aw32L3;|Mc7\x82W0}`W16:02e8|b232650|\x84;c9c:e2|N}ax32L3;e;e<|327E0c=qe>|31c?c@q|3242;cAq]31|_42;" #(quote
- #fn("8000r1|Mc0\x8280c1|NK;c2c1|L3;" #(#.list #.vector #.apply)) bq-process
- vector->list quasiquote #.list 'quasiquote unquote length= #.cons 'unquote
- any splice-form? #fn(":000r2|\x8570c0}K;}N\x85?0c1}Me2|\x7f32L3;c3c4}Ke2|\x7f32L142;" #(#.list
+ bq-process #fn(";000x2\x81>N80j0\x81W2S\x81DNA0j1l2l3\x81K1\x82K2L1S\x81;N40\x81S\x814j4\x87B0j5j6l2\x816\x82h}K2W3S\x814j7\x87W0\x82g^IN:0Jl8\x81i2K2N50\x816Sj9j:l2\x815\x82h~K2W3Sl;l<\x81K2OE0j=9l>\x81K1j?j@9\x81K2L2SjA9dK1\x81fL2S" #(quote
+ #fn("8000x1\x814j0\x8780j1\x815FSj2j1\x81W3S" #(#.list #.vector #.apply))
+ bq-process vector->list quasiquote #.list 'quasiquote unquote length= #.cons
+ 'unquote any splice-form? #fn(":000x2\x81\x8970j0\x82FS\x825\x89?0j1\x824l2\x81\x84K2W3Sj3j4\x82Fl2\x81\x84K2W1L2S" #(#.list
#.cons bq-process #fn(nconc) #fn(list*))) lastcdr #fn(map)
- #fn("8000r1e0|\x7f42;" #(bq-bracket1)) #fn("6000r1c0qm02|;" #(#fn(">000r2|\x85;0c0e1}31K;|F6s0|Mc2\x82[0c0e3}i11`W670|N5E0c4c5L2e6|Ni11ax32L232K;~|Ne7|Mi1132}K42;c0e1e6|i1132}K31K;" #(nconc
+ #fn("8000x1l0\x81\x84L2S" #(bq-bracket1))
+ #fn("6000x1j09t0J\x81S" #(#fn(">000x2\x81\x89;0j0l1\x82K1FS\x81:Ns0\x814j2\x87[0j0l3\x82p11g^N70\x815ME0j4j5W2l6\x815p11h~K2W2K2FS\x83\x815l7\x814p11K2\x82FL2Sj0l1l6\x81p11K2\x82FK1FS" #(nconc
reverse! unquote nreconc #.list 'unquote bq-process bq-bracket))))) bq-process)
- builtin->instruction #fn("9000r1c0~|^43;" #(#fn(get)) #(#table(#.equal? equal? #.* * #.car car #.apply apply #.aref aref #.- - #.boolean? boolean? #.builtin? builtin? #.null? null? #.eqv? eqv? #.function? function? #.bound? bound? #.cdr cdr #.list list #.set-car! set-car! #.cons cons #.atom? atom? #.set-cdr! set-cdr! #.symbol? symbol? #.eq? eq? #.vector vector #.not not #.pair? pair? #.number? number? #.div0 div0 #.aset! aset! #.+ + #.= = #.compare compare #.vector? vector? #./ / #.< < #.fixnum? fixnum?)
- ()))
- caaaar #fn("6000r1|MMMM;" #() caaaar) caaadr
- #fn("6000r1|\x84MM;" #() caaadr) caaar #fn("6000r1|MMM;" #() caaar)
- caadar #fn("6000r1|M\x84M;" #() caadar) caaddr
- #fn("6000r1|N\x84M;" #() caaddr) caadr #fn("6000r1|\x84M;" #() caadr)
- caar #fn("6000r1|MM;" #() caar) cadaar
- #fn("6000r1|MM\x84;" #() cadaar) cadadr #fn("6000r1|\x84\x84;" #() cadadr)
- cadar #fn("6000r1|M\x84;" #() cadar) caddar
- #fn("6000r1|MN\x84;" #() caddar) cadddr #fn("6000r1|NN\x84;" #() cadddr)
- caddr #fn("6000r1|N\x84;" #() caddr) cadr
- #fn("6000r1|\x84;" #() cadr) call-with-values #fn("7000r2c0q|3041;" #(#fn("7000r1|F16902i10|M<680\x7f|Nv2;\x7f|41;" #())) #2=#((*values*)
+ builtin->instruction #fn("9000x1j0\x83\x81eL3S" #(#fn(get)) #(#table(#.vector vector #.eq? eq? #.symbol? symbol? #.= = #.* * #.builtin? builtin? #.bound? bound? #.boolean? boolean? #.set-car! set-car! #.aref aref #.atom? atom? #.< < #.number? number? #.not not #.aset! aset! #.div0 div0 #.function? function? #.null? null? #.- - #.pair? pair? #.fixnum? fixnum? #.cons cons #.compare compare #.equal? equal? #./ / #.vector? vector? #.list list #.car car #.cadr cadr #.+ + #.set-cdr! set-cdr! #.cdr cdr #.eqv? eqv? #.apply apply)
()))
- cdaaar #fn("6000r1|MMMN;" #() cdaaar) cdaadr
- #fn("6000r1|\x84MN;" #() cdaadr) cdaar #fn("6000r1|MMN;" #() cdaar)
- cdadar #fn("6000r1|M\x84N;" #() cdadar) cdaddr
- #fn("6000r1|N\x84N;" #() cdaddr) cdadr #fn("6000r1|\x84N;" #() cdadr)
- cdar #fn("6000r1|MN;" #() cdar) cddaar
- #fn("6000r1|MMNN;" #() cddaar) cddadr #fn("6000r1|\x84NN;" #() cddadr)
- cddar #fn("6000r1|MNN;" #() cddar) cdddar
- #fn("6000r1|MNNN;" #() cdddar) cddddr #fn("6000r1|NNNN;" #() cddddr)
- cdddr #fn("6000r1|NNN;" #() cdddr) cddr
- #fn("6000r1|NN;" #() cddr) char? #fn("7000r1c0|31c1<;" #(#fn(typeof)
- wchar) char?)
- closure? #fn("7000r1|J16602|G@;" #() closure?) compile
- #fn("8000r1e0_|42;" #(compile-f) compile) compile-and #fn("<000r4e0|}g2g3]c146;" #(compile-short-circuit
+ caaaar #fn("6000x1\x814444S" #() caaaar) caaadr
+ #fn("6000x1\x81644S" #() caaadr) caaar #fn("6000x1\x81444S" #() caaar)
+ caadar #fn("6000x1\x81464S" #() caadar) caaddr
+ #fn("6000x1\x81564S" #() caaddr) caadr #fn("6000x1\x8164S" #() caadr)
+ caar #fn("6000x1\x8144S" #() caar) cadaar
+ #fn("6000x1\x81446S" #() cadaar) cadadr #fn("6000x1\x8166S" #() cadadr)
+ cadar #fn("6000x1\x8146S" #() cadar) caddar
+ #fn("6000x1\x81456S" #() caddar) cadddr #fn("6000x1\x81556S" #() cadddr)
+ caddr #fn("6000x1\x8156S" #() caddr) call-with-values
+ #fn("7000x2j09\x81K0L1S" #(#fn("7000x1\x81:IN90Jp10\x814TN80\x84\x815|2S\x84\x81L1S" #())) #2=#((*values*)
+ ()))
+ cdaaar #fn("6000x1\x814445S" #() cdaaar) cdaadr
+ #fn("6000x1\x81645S" #() cdaadr) cdaar #fn("6000x1\x81445S" #() cdaar)
+ cdadar #fn("6000x1\x81465S" #() cdadar) cdaddr
+ #fn("6000x1\x81565S" #() cdaddr) cdadr #fn("6000x1\x8165S" #() cdadr)
+ cdar #fn("6000x1\x8145S" #() cdar) cddaar
+ #fn("6000x1\x814455S" #() cddaar) cddadr #fn("6000x1\x81655S" #() cddadr)
+ cddar #fn("6000x1\x81455S" #() cddar) cdddar
+ #fn("6000x1\x814555S" #() cdddar) cddddr #fn("6000x1\x815555S" #() cddddr)
+ cdddr #fn("6000x1\x81555S" #() cdddr) cddr
+ #fn("6000x1\x8155S" #() cddr) char? #fn("7000x1j0\x81K1j1TS" #(#fn(typeof)
+ wchar) char?)
+ closure? #fn("7000x1\x81CIN60J\x81B7S" #() closure?) compile
+ #fn("8000x1l0f\x81L2S" #(compile-f) compile) compile-and #fn("<000x4l0\x81\x82n2n3dj1L6S" #(compile-short-circuit
brf) compile-and)
- compile-app #fn("7000r4c0qg3M41;" #(#fn("9000r1c0q|C16V02e1|\x7f32@16J02|E16C02c2|3116902c3|31G6:0c3|31530|41;" #(#fn(":000r1e0i13Nc1326S0e2i10i11^|342c3qe4i10i11i13N3341;c5q|G16802e6|3141;" #(length>
- 255 compile-in #fn(":000r1e0i20i22670c1540c2|43;" #(emit tcall.l call.l))
- compile-arglist #fn(";000r1~c0<16X02e1~i2132@16J02c2c031e0>16<02e3i23b2326L0e4i20i21^i23\x84342e5i20c042;|7A0e4i20i21^~34530]2c6qe7i20i21i23N3341;" #(cadr
- in-env? #fn(top-level-value) length= compile-in emit #fn("=000r1~6H0e0i30i31i32i33i10~|47;e1i30i32670c2540c3|43;" #(compile-builtin-call
+ compile-app #fn("7000x4j09n34L1S" #(#fn("9000x1j09\x81>INV0Jl1\x81\x84K27INJ0J\x81AINC0Jj2\x81K1IN90Jj3\x81K1BN:0j3\x81K1M30\x81L1S" #(#fn(":000x1l0p135j1K2NS0l2p10p11e\x81K4Jj39l4p10p11p135K3L1Sj59\x81BIN80Jl6\x81K1L1S" #(length>
+ 255 compile-in #fn(":000x1l0p20p22N70j1M40j2\x81L3S" #(emit tcall.l call.l))
+ compile-arglist #fn(";000x1\x83j0TINX0Jl1\x83p21K27INJ0Jj2j0K1j3VIN<0Jl4p23i2K2NL0l5p20p21ep236K4Jl6p20j0L2S\x81OA0l5p20p21e\x83K4M30dJj79l8p20p21p235K3L1S" #(cadr
+ in-env? #fn(top-level-value) #.cadr length= compile-in emit #fn("=000x1\x83NH0l0p30p31p32p33p10\x83\x81L7Sl1p30p32N70j2M40j3\x81L3S" #(compile-builtin-call
emit tcall call)) compile-arglist)) builtin->instruction)) in-env? #fn(constant?)
#fn(top-level-value)))) compile-app)
- compile-arglist #fn("8000r3e0c1qg2322c2g241;" #(for-each #fn(":000r1e0~\x7f^|44;" #(compile-in))
+ compile-arglist #fn("8000x3l0j19n2K2Jj2n2L1S" #(for-each #fn(":000x1l0\x83\x84e\x81L4S" #(compile-in))
#fn(length)) compile-arglist)
- compile-begin #fn(":000r4g3?6?0e0|}g2e13044;g3N?6>0e0|}g2g3M44;e0|}^g3M342e2|c3322e4|}g2g3N44;" #(compile-in
+ compile-begin #fn(":000x4n3;N?0l0\x81\x82n2l1K0L4Sn35;N>0l0\x81\x82n2n34L4Sl0\x81\x82en34K4Jl2\x81j3K2Jl4\x81\x82n2n35L4S" #(compile-in
void emit pop compile-begin) compile-begin)
- compile-builtin-call #fn(":000r7c0qc1e2g4^3341;" #(#fn("8000r1|16=02e0i03N|32@6=0e1i05|32530]2c2qi0541;" #(length=
- argc-error #fn(":000r1|c0\x82R0i16`W6<0e1i10c242;e1i10i15i1643;|c3\x82e0i16`W6<0e1i10c442;i16b2W6<0e1i10c542;e1i10i15i1643;|c6\x82v0i16`W6;0e7i15a42;i16aW6<0e1i10c842;i16b2W6<0e1i10c942;e1i10i15i1643;|c:\x82R0i16`W6<0e1i10c;42;e1i10i15i1643;|c<\x82Q0i16`W6;0e7i15a42;e1i10i15i1643;|c=\x82T0i16`W6>0e1i10c>c?43;e1i10i15i1643;|c@\x82]0i16b2X6<0e7i15b242;e1i10i12670cA540c@i1643;e1i10i1542;" #(list
+ compile-builtin-call #fn(":000x7j09j1l2n4eK3L1S" #(#fn("8000x1\x81IN=0Jl0p035\x81K27N=0l1p05\x81K2M30dJj29p05L1S" #(length=
+ argc-error #fn(":000x1\x81j0\x87R0p16g^N<0l1p10j2L2Sl1p10p15p16L3S\x81j3\x87e0p16g^N<0l1p10j4L2Sp16i2^N<0l1p10j5L2Sl1p10p15p16L3S\x81j6\x87v0p16g^N;0l7p15hL2Sp16h^N<0l1p10j8L2Sp16i2^N<0l1p10j9L2Sl1p10p15p16L3S\x81j:\x87R0p16g^N<0l1p10j;L2Sl1p10p15p16L3S\x81j<\x87Q0p16g^N;0l7p15hL2Sl1p10p15p16L3S\x81j=\x87T0p16g^N>0l1p10j>j?L3Sl1p10p15p16L3S\x81j@\x87]0p16i2_N<0l7p15i2L2Sl1p10p12N70jAM40j@p16L3Sl1p10p15L2S" #(list
emit loadnil + load0 add2 - argc-error neg sub2 * load1 / vector loadv #()
apply tapply)))) #fn(get) arg-counts) compile-builtin-call)
- compile-f #fn("8000r2e0c1qc242;" #(call-with-values #fn("8000r0e0~\x7f42;" #(compile-f-))
- #fn("6000r2|;" #())) compile-f)
- compile-f- #fn("8000r2c0q]]42;" #(#fn(">000r2c0qm02c1qm12c2qe330\x7f\x84e4\x7f\x8431e5\x7f\x8431e6c7\x7f\x8432e4\x7f31i10\x8270c8570e4\x7f3146;" #(#fn("9000r1c0qe1|31F6N0e2|31F6=0c3e1|31K570e4|31560e53041;" #(#fn("8000r1c0qe1|3141;" #(#fn(":000r1|\x8540~;c0c1|~i4034c2c3|32K;" #(#fn(list*)
- lambda #fn(map) #fn("6000r1e040;" #(void)))) get-defined-vars)) cddr cdddr
- begin caddr void) lambda-body) #fn("7000r1e0|31i20\x8280e1|41;~|41;" #(lastcdr
- caddr) lam:body) #fn("9000r6c0q}?660`570c1}3141;" #(#fn("9000r1c0q|c1i0431x41;" #(#fn("9000r1c0qe1e2i143241;" #(#fn("C000r1i24\x87\xa90|\x85O0e0i20c1~i22\x8580i10560i10y345s0e2i20e3c4c5c4c6|32e7c8|31313331322e0i20c9~c8|31i22\x8580i10560i10y352e:i20i40i24i23~35530]2e;i10c<326L0e0i20i22\x8570c=540c>i10335]0i22\x87A0e0i20c?i10335H0i24\x85A0e0i20c@i1033530^2eAi20i23i40K]i31i4131342e0i20cB322eCcDeEeFi203131eGi2031i2533i20b3[42;" #(emit
+ compile-f #fn("8000x2l0j19j2L2S" #(call-with-values #fn("8000x0l0\x83\x84L2S" #(compile-f-))
+ #fn("6000x2\x81S" #())) compile-f)
+ compile-f- #fn("8000x2j09ddL2S" #(#fn(">000x2j09t0Jj19t1Jj29l3K0\x846l4\x846K1l5\x846K1l6j7\x846K2l4\x84K1p10\x8770j8M70l4\x84K1L6S" #(#fn("9000x1j09l1\x81K1:NN0l2\x81K1:N=0j3l1\x81K1FM70l4\x81K1M60l5K0L1S" #(#fn("8000x1j09l1\x81K1L1S" #(#fn(":000x1\x81\x8940\x83Sj0j1\x81\x83p40K4j2j3\x81K2FS" #(#fn(list*)
+ lambda #fn(map) #fn("6000x1l0L0S" #(void)))) get-defined-vars)) cddr cdddr
+ begin caddr void) lambda-body) #fn("7000x1l0\x81K1p20\x8780l1\x81L1S\x83\x81L1S" #(lastcdr
+ caddr) lam:body) #fn("9000x6j09\x82;N60gM70j1\x82K1L1S" #(#fn("9000x1j09\x81j1p04K1~L1S" #(#fn("9000x1j09l1l2p14K2L1S" #(#fn("C000x1p24\x8b\xa90\x81\x89O0l0p20j1\x83p22\x8980p10M60p108K4Ms0l2p20l3j4j5j4j6\x81K2l7j8\x81K1K1K3K1K2Jl0p20j9\x83j8\x81K1p22\x8980p10M60p108K5Jl:p20p40p24p23\x83K5M30dJl;p10j<K2NL0l0p20p22\x8970j=M40j>p10K3M]0p22\x8bA0l0p20j?p10K3MH0p24\x89A0l0p20j@p10K3M30eJlAp20p23p40Fdp31p41K1K4Jl0p20jBK2JlCjDlElFp20K1K1lGp20K1p25K3p20i3aL2S" #(emit
optargs bcode:indexfor make-perfect-hash-table
#fn(map) #.cons #.car iota #fn(length) keyargs emit-optional-arg-inits > 255
largc lvargc vargc argc compile-in ret values #fn(function) encode-byte-code
@@ -165,49 +170,50 @@
bcode:code const-to-idx-vec)) filter keyword-arg?))
#fn(length))) #fn(length))) make-code-emitter lastcdr lambda-vars filter #.pair?
lambda))) #0=#(#:g714 ()))
- compile-for #fn(":000r5e0g4316X0e1|}^g2342e1|}^g3342e1|}^g4342e2|c342;e4c541;" #(1arg-lambda?
+ compile-for #fn(":000x5l0n4K1NX0l1\x81\x82en2K4Jl1\x81\x82en3K4Jl1\x81\x82en4K4Jl2\x81j3L2Sl4j5L1S" #(1arg-lambda?
compile-in emit for error "for: third form must be a 1-argument lambda") compile-for)
- compile-if #fn("<000r4c0qe1|31e1|31g3\x84e2g331e3g331F6;0e4g331560e53045;" #(#fn(";000r5g2]\x82>0e0~\x7fi02g344;g2^\x82>0e0~\x7fi02g444;e0~\x7f^g2342e1~c2|332e0~\x7fi02g3342i026<0e1~c3325:0e1~c4}332e5~|322e0~\x7fi02g4342e5~}42;" #(compile-in
+ compile-if #fn("<000x4j09l1\x81K1l1\x81K1n36l2n3K1l3n3K1:N;0l4n3K1M60l5K0L5S" #(#fn(";000x5n2d\x87>0l0\x83\x84p02n3L4Sn2e\x87>0l0\x83\x84p02n4L4Sl0\x83\x84en2K4Jl1\x83j2\x81K3Jl0\x83\x84p02n3K4Jp02N<0l1\x83j3K2M:0l1\x83j4\x82K3Jl5\x83\x81K2Jl0\x83\x84p02n4K4Jl5\x83\x82L2S" #(compile-in
emit brf ret jmp mark-label)) make-label caddr cdddr cadddr void) compile-if)
- compile-in #fn(";000r4g3C6=0e0|}g3c144;g3?6\xaf0g3`\x82:0e2|c342;g3a\x82:0e2|c442;g3]\x82:0e2|c542;g3^\x82:0e2|c642;g3_\x82:0e2|c742;e8g3316<0e2|c9g343;c:g3316C0e;|}g2c<c=31L144;e2|c>g343;g3MC@17D02g3ME17;02e?g3M}326=0e@|}g2g344;cAqg3M41;" #(compile-sym
+ compile-in #fn(";000x4n3>N=0l0\x81\x82n3j1L4Sn3;N\xaf0n3g\x87:0l2\x81j3L2Sn3h\x87:0l2\x81j4L2Sn3d\x87:0l2\x81j5L2Sn3e\x87:0l2\x81j6L2Sn3f\x87:0l2\x81j7L2Sl8n3K1N<0l2\x81j9n3L3Sj:n3K1NC0l;\x81\x82n2j<j=K1W1L4Sl2\x81j>n3L3Sn34>7IOD0Jn34AIO;0Jl?n34\x82K2N=0l@\x81\x82n2n3L4SjA9n34L1S" #(compile-sym
#(loada loadc loadg) emit load0 load1 loadt loadf loadnil fits-i8 loadi8 #fn(eof-object?)
- compile-in #fn(top-level-value) eof-object loadv in-env? compile-app #fn("<000r1|c0\x82W0e1i03\x84316@0e2~\x7fi02i03\x8444;e3~c4i03\x8443;|c5\x82?0e6~\x7fi02i0344;|c7\x82@0e8~\x7fi02i03N44;|c9\x82<0e:~\x7fi0343;|c;\x82=0e<c=qc>q42;|c?\x82@0e@~\x7fi02i03N44;|cA\x82@0eB~\x7fi02i03N44;|cC\x82G0eD~\x7fi03\x84c7eEi0331K44;|cF\x82K0eG~\x7fi03\x84eHi0331eIi033145;|cJ\x82F0e2~\x7f]i03\x84342e3~cK42;|cL\x82_0e2~\x7f^eHi0331342i03\x84C17902eMcN312eO~\x7fi03\x84cP44;|cQ\x82C0e2~\x7fi02eRi033144;|cS\x82s0e2~\x7f^c;_i03\x84L3342eTeHi033131660^580eMcU312e2~\x7f^eHi0331342e3~cS42;eV~\x7fi02i0344;" #(quote
+ compile-in #fn(top-level-value) eof-object loadv in-env? compile-app #fn("<000x1\x81j0\x87W0l1p036K1N@0l2\x83\x84p02p036L4Sl3\x83j4p036L3S\x81j5\x87?0l6\x83\x84p02p03L4S\x81j7\x87@0l8\x83\x84p02p035L4S\x81j9\x87<0l:\x83\x84p03L3S\x81j;\x87=0l<j=9j>9L2S\x81j?\x87@0l@\x83\x84p02p035L4S\x81jA\x87@0lB\x83\x84p02p035L4S\x81jC\x87G0lD\x83\x84p036j7lEp03K1FL4S\x81jF\x87K0lG\x83\x84p036lHp03K1lIp03K1L5S\x81jJ\x87F0l2\x83\x84dp036K4Jl3\x83jKL2S\x81jL\x87_0l2\x83\x84elHp03K1K4Jp036>IO90JlMjNK1JlO\x83\x84p036jPL4S\x81jQ\x87C0l2\x83\x84p02lRp03K1L4S\x81jS\x87s0l2\x83\x84ej;fp036W3K4JlTlHp03K1K1N60eM80lMjUK1Jl2\x83\x84elHp03K1K4Jl3\x83jSL2SlV\x83\x84p02p03L4S" #(quote
self-evaluating? compile-in emit loadv if compile-if begin compile-begin
- prog1 compile-prog1 lambda call-with-values #fn("8000r0e0i11i1342;" #(compile-f-))
- #fn("9000r2e0i10c1|332e2i10}322}e3i1131X6<0e0i10c442;];" #(emit loadv
- bcode:cdepth nnn
- closure)) and
- compile-and or compile-or while compile-while cddr for compile-for caddr
- cadddr return ret set! error "set!: second argument must be a symbol"
+ prog1 compile-prog1 lambda call-with-values #fn("8000x0l0p11p13L2S" #(compile-f-))
+ #fn("9000x2l0p10j1\x81K3Jl2p10\x82K2J\x82l3p11K1_N<0l0p10j4L2SdS" #(emit
+ loadv bcode:cdepth nnn closure)) and compile-and or compile-or while
+ compile-while cddr for compile-for caddr cadddr return ret set! error "set!: second argument must be a symbol"
compile-sym #(seta setc setg) define expand-define trycatch 1arg-lambda? "trycatch: second form must be a 1-argument lambda"
compile-app))) compile-in)
- compile-or #fn("<000r4e0|}g2g3^c146;" #(compile-short-circuit brt) compile-or)
- compile-prog1 #fn(";000r3e0|}^g2\x84342e1g231F6H0e2|}^e1g231342e3|c442;];" #(compile-in
+ compile-or #fn("<000x4l0\x81\x82n2n3ej1L6S" #(compile-short-circuit
+ brt) compile-or)
+ compile-prog1 #fn(";000x3l0\x81\x82en26K4Jl1n2K1:NH0l2\x81\x82el1n2K1K4Jl3\x81j4L2SdS" #(compile-in
cddr compile-begin emit pop) compile-prog1)
- compile-short-circuit #fn(":000r6g3?6=0e0|}g2g444;g3N?6>0e0|}g2g3M44;c1qe2|3141;" #(compile-in
- #fn("<000r1e0~\x7f^i03M342e1~c2322e1~i05|332e1~c3322e4~\x7fi02i03Ni04i05362e5~|42;" #(compile-in
+ compile-short-circuit #fn(":000x6n3;N=0l0\x81\x82n2n4L4Sn35;N>0l0\x81\x82n2n34L4Sj19l2\x81K1L1S" #(compile-in
+ #fn("<000x1l0\x83\x84ep034K4Jl1\x83j2K2Jl1\x83p05\x81K3Jl1\x83j3K2Jl4\x83\x84p02p035p04p05K6Jl5\x83\x81L2S" #(compile-in
emit dup pop compile-short-circuit mark-label)) make-label) compile-short-circuit)
- compile-sym #fn(";000r4c0qe1g2}`]3441;" #(#fn(":000r1|D6>0e0~i03`[|43;|MD6R0e0~i03a[|M|N342e1~e2\x7fN31a|MS342;c3i023116>02e4c5i0231316A0e0~c6c5i023143;e0~i03b2[i0243;" #(emit
+ compile-sym #fn(";000x4j09l1n2\x82gdK4L1S" #(#fn(":000x1\x81?N>0l0\x83p03ga\x81L3S\x814?NR0l0\x83p03ha\x814\x815K4Jl1\x83l2\x845K1h\x814Z3L2Sj3p02K1IN>0Jl4j5p02K1K1NA0l0\x83j6j5p02K1L3Sl0\x83p03i2ap02L3S" #(emit
bcode:cdepth nnn #fn(constant?) printable? #fn(top-level-value) loadv))
- lookup-sym) compile-sym)
- compile-thunk #fn(";000r1e0c1c2L1_L1|L1~3441;" #(compile #fn(nconc)
- lambda) #0#)
- compile-while #fn("9000r4c0qe1|31e1|3142;" #(#fn(":000r2e0~\x7f^e130342e2~|322e0~\x7f^i02342e3~c4}332e3~c5322e0~\x7f^i03342e3~c6|332e2~}42;" #(compile-in
+ lookup-sym) compile-sym)
+ compile-thunk #fn(";000x1l0j1j2W1fW1\x81W1\x83K4L1S" #(compile #fn(nconc)
+ lambda) #0#)
+ compile-while #fn("9000x4j09l1\x81K1l1\x81K1L2S" #(#fn(":000x2l0\x83\x84el1K0K4Jl2\x83\x81K2Jl0\x83\x84ep02K4Jl3\x83j4\x82K3Jl3\x83j5K2Jl0\x83\x84ep03K4Jl3\x83j6\x81K3Jl2\x83\x82L2S" #(compile-in
void mark-label emit brf pop jmp)) make-label) compile-while)
- const-to-idx-vec #fn("9000r1c0qc1e2|313141;" #(#fn("9000r1e0c1qe2~31322|;" #(table.foreach
- #fn("8000r2~}|\\;" #()) bcode:ctable)) #fn(vector.alloc) bcode:nconst) const-to-idx-vec)
- copy-tree #fn("8000r1|?640|;e0|M31e0|N31K;" #(copy-tree) copy-tree)
- count #fn("7000r2c0q]41;" #(#fn("9000r1c0qm02|~\x7f`43;" #(#fn(":000r3}\x8550g2;~|}N|}M31690g2aw540g243;" #() count-)))) count)
- delete-duplicates #fn("8000r1e0|bD326<0c1qc23041;|?640|;c3|M|N42;" #(length>
- #fn("8000r1c0q]31~_42;" #(#fn("6000r1c0qm02|;" #(#fn("9000r2|?680e0}41;c1i10|M32690~|N}42;c2i10|M]332~|N|M}K42;" #(reverse!
- #fn(has?) #fn(put!))))))) #fn(table) #fn("8000r2e0|}32680e1}41;|e1}31K;" #(member
+ const-to-idx-vec #fn("9000x1j09j1l2\x81K1K1L1S" #(#fn("9000x1l0j19l2\x83K1K2J\x81S" #(table.foreach
+ #fn("8000x2\x83\x82\x81cS" #()) bcode:ctable))
+ #fn(vector.alloc)
+ bcode:nconst) const-to-idx-vec)
+ copy-tree #fn("8000x1\x81;N40\x81Sl0\x814K1l0\x815K1FS" #(copy-tree) copy-tree)
+ count #fn("7000x2j09dL1S" #(#fn("9000x1j09t0J\x81\x83\x84gL3S" #(#fn(":000x3\x82\x8950n2S\x83\x81\x825\x81\x824K1N90n2h}M40n2L3S" #() count-)))) count)
+ delete-duplicates #fn("8000x1l0\x81iDK2N<0j19j2K0L1S\x81;N40\x81Sj3\x814\x815L2S" #(length>
+ #fn("8000x1j09dK1\x83fL2S" #(#fn("6000x1j09t0J\x81S" #(#fn("9000x2\x81;N80l0\x82L1Sj1p10\x814K2N90\x83\x815\x82L2Sj2p10\x814dK3J\x83\x815\x814\x82FL2S" #(reverse!
+ #fn(has?) #fn(put!))))))) #fn(table) #fn("8000x2l0\x81\x82K2N80l1\x82L1S\x81l1\x82K1FS" #(member
delete-duplicates))) delete-duplicates)
- disassemble #fn("=000s1}\x85C0e0|`322e1302];530]2c2}Mc3|31c4|3143;" #(disassemble
- newline #fn("7000r3c0q]41;" #(#fn(":000r1c0qm02`~axc1u2e2c3e4\x7f`32c5332c6qb4c7\x7f3142;" #(#fn("9000r1|J16602|G@6D0e0c1312e2|i10aw42;e3|41;" #(princ
- "\n" disassemble print) print-val) #fn("7000r1e0c141;" #(princ "\t")) princ
- "maxstack " ref-int32-LE "\n" #fn(":000r2]|}X6E02c0qc1c2q^e333315\x19/;" #(#fn(";000r1e0~b432690e130530]2`i20axc2u2e3e4~b4x31c5c6|31c7342~awo002c8q|41;" #(>
- newline #fn("7000r1e0c141;" #(princ "\t")) princ hex5 ": " #fn(string) "\t"
- #fn("=000r1c0|c1326P0i20i32e2i31i1032[312i10b4wo10;c0|c3326L0i20i32i31i10[[312i10awo10;c0|c4326K0e5c6i31i10[31312i10awo10;c0|c7326O0e5c6e2i31i103231312i10b4wo10;c0|c8326f0e5c6i31i10[31c9322i10awo102e5c6i31i10[31312i10awo10;c0|c:326\x9c0e5c6e2i31i103231c9322i10b4wo102e5c6e2i31i103231312i10b4wo102~c;\x82X0e5c9312e5c6e2i31i103231c9322i10b4wo10;];|c<=6Q0e5c6e2i31i103231c9322i10b4wo10;c0|c=326X0e5c>e?i10b,e@i31i1032R331322i10b2wo10;c0|cA326X0e5c>e?i10b,e2i31i1032R331322i10b4wo10;^;" #(#fn(memq)
+ disassemble #fn("=000y1\x82\x89C0l0\x81gK2Jl1K0JdSM30dJj2\x824j3\x81K1j4\x81K1L3S" #(disassemble
+ newline #fn("7000x3j09dL1S" #(#fn(":000x1j09t0Jg\x83h~j1{Jl2j3l4\x84gK2j5K3Jj69i4j7\x84K1L2S" #(#fn("9000x1\x81CIN60J\x81B7ND0l0j1K1Jl2\x81p10h}L2Sl3\x81L1S" #(princ
+ "\n" disassemble print) print-val) #fn("7000x1l0j1L1S" #(princ "\t")) princ
+ "maxstack " ref-int32-LE "\n" #fn(":000x2d\x81\x82_NE0Jj09j1j29el3K3K1M\x19/S" #(#fn(";000x1l0\x83i4K2N90l1K0M30dJgp20h~j2{Jl3l4\x83i4~K1j5j6\x81K1j7K4J\x83h}v00Jj89\x81L1S" #(>
+ newline #fn("7000x1l0j1L1S" #(princ "\t")) princ hex5 ": " #fn(string) "\t"
+ #fn("=000x1j0\x81j1K2NP0p20p32l2p31p10K2aK1Jp10i4}v10Sj0\x81j3K2NL0p20p32p31p10aaK1Jp10h}v10Sj0\x81j4K2NK0l5j6p31p10aK1K1Jp10h}v10Sj0\x81j7K2NO0l5j6l2p31p10K2K1K1Jp10i4}v10Sj0\x81j8K2Nf0l5j6p31p10aK1j9K2Jp10h}v10Jl5j6p31p10aK1K1Jp10h}v10Sj0\x81j:K2N\x9c0l5j6l2p31p10K2K1j9K2Jp10i4}v10Jl5j6l2p31p10K2K1K1Jp10i4}v10J\x83j;\x87X0l5j9K1Jl5j6l2p31p10K2K1j9K2Jp10i4}v10SdS\x81j<UNQ0l5j6l2p31p10K2K1j9K2Jp10i4}v10Sj0\x81j=K2NX0l5j>l?p10i,l@p31p10K2Y3K1K2Jp10i2}v10Sj0\x81jAK2NX0l5j>l?p10i,l2p31p10K2Y3K1K2Jp10i4}v10SeS" #(#fn(memq)
(loadv.l loadg.l setg.l) ref-int32-LE (loadv loadg setg)
(loada seta call tcall list + - * / vector argc vargc loadi8 apply tapply)
princ #fn(number->string) (loada.l seta.l largc lvargc call.l tcall.l) (loadc
@@ -214,260 +220,267 @@
setc) " " (loadc.l setc.l optargs keyargs) keyargs brbound (jmp brf brt brne
brnn brn) "@"
hex5 ref-int16-LE (jmp.l brf.l brt.l brne.l brnn.l brn.l)))))
- #fn(table.foldl) #fn("8000r3g217@02}i21~[<16402|;" #()) Instructions))
+ #fn(table.foldl) #fn("8000x3n2IO@0J\x82p21\x83aTIN40J\x81S" #()) Instructions))
#fn(length))))) #fn(function:code) #fn(function:vals)) disassemble)
- div #fn("8000r2|}V|`X16C02}`X16402a17502b/17402`w;" #() div) emit
- #fn("G000s2g2\x85b0}c0<16C02|`[F16:02|`[Mc1<6;0|`[c2O5:0|`}|`[K\\5\xe20c3}c4326A0e5|g2M32L1m2530]2c6qc7}c832312c9qc7}c:32312}c;\x82\\0g2c<>6=0c=m12_m25F0g2c>>6=0c?m12_m2530^530]2}c@\x82\\0g2cA>6=0cBm12_m25F0g2cC>6=0cDm12_m2530^530]2cEq|`[F690|`[M530_|`[322|;" #(car
- cdr cadr #fn(memq) (loadv loadg setg) bcode:indexfor #fn("8000r1|16=02e0i02Mc132680|\x84o01;];" #(>
+ div #fn("8000x2\x81\x82]\x81g_INC0J\x82g_IN40JhIO50Ji/IO40Jg}S" #() div)
+ emit #fn("G000y2n2\x89b0\x82j0TINC0J\x81ga:IN:0J\x81ga4j1TN;0\x81gaj2GM:0\x81g\x82\x81gaFcM\xe20j3\x82j4K2NA0l5\x81n24K2W1t2M30dJj69j7\x82j8K2K1Jj99j7\x82j:K2K1J\x82j;\x87\\0n2j<VN=0j=t1Jft2MF0n2j>VN=0j?t1Jft2M30eM30dJ\x82j@\x87\\0n2jAVN=0jBt1Jft2MF0n2jCVN=0jDt1Jft2M30eM30dJjE9\x81ga:N90\x81ga4M30f\x81gaK2J\x81S" #(car
+ cdr cadr #fn(memq) (loadv loadg setg) bcode:indexfor #fn("8000x1\x81IN=0Jl0p024j1K2N80\x816v01SdS" #(>
255)) #fn(assq) ((loadv loadv.l) (loadg loadg.l) (setg setg.l) (loada loada.l)
(seta seta.l))
- #fn("8000r1|16L02e0i02Mc13217=02e0i02\x84c132680|\x84o01;];" #(> 255))
+ #fn("8000x1\x81INL0Jl0p024j1K2IO=0Jl0p026j1K2N80\x816v01SdS" #(> 255))
((loadc loadc.l) (setc setc.l)) loada (0) loada0 (1) loada1 loadc (0 0)
- loadc00 (0 1) loadc01 #fn(">000r2\x7fc0<16\x9a02|c1<16802}\x84c2<6E0~`i02Mc3e4}31KK\\5u0|c1\x82B0~`i02Mc5}NKK\\5_0|c6\x82B0~`i02Mc7}NKK\\5I0|c2\x82B0~`i02Mc8}NKK\\530^17^02\x7fc5<16702|c2<6@0~`i02Mc3}NKK\\;~`e9\x7fi02K}32\\;" #(brf
+ loadc00 (0 1) loadc01 #fn(">000x2\x84j0TIN\x9a0J\x81j1TIN80J\x826j2TNE0\x83gp024j3l4\x82K1FFcMu0\x81j1\x87B0\x83gp024j5\x825FFcM_0\x81j6\x87B0\x83gp024j7\x825FFcMI0\x81j2\x87B0\x83gp024j8\x825FFcM30eIO^0J\x84j5TIN70J\x81j2TN@0\x83gp024j3\x825FFcS\x83gl9\x84p02F\x82K2cS" #(brf
not null? brn cddr brt eq? brne brnn nreconc))) emit)
- emit-optional-arg-inits #fn("8000r5g2F6=0c0qe1|3141;];" #(#fn("<000r1e0~c1i04332e0~c2|332e3~e4i03i0432\x7fK^e5i0231342e0~c6i04332e0~c7322e8~|322e9~\x7fi02Ni03i04aw45;" #(emit
+ emit-optional-arg-inits #fn("8000x5n2:N=0j09l1\x81K1L1SdS" #(#fn("<000x1l0\x83j1p04K3Jl0\x83j2\x81K3Jl3\x83l4p03p04K2\x84Fel5p02K1K4Jl0\x83j6p04K3Jl0\x83j7K2Jl8\x83\x81K2Jl9\x83\x84p025p03p04h}L5S" #(emit
brbound brt compile-in list-head cadar seta pop mark-label
emit-optional-arg-inits)) make-label) emit-optional-arg-inits)
- encode-byte-code #fn("8000r1c0e1|3141;" #(#fn("8000r1c0e1|3141;" #(#fn(";000r1c0qe1c2|31b3c2|31b2VT2wc33241;" #(#fn("=000r1c0qc1~31`c230c230c330^^47;" #(#fn("?000r7c0g4c1322]}|X6\xff02i10}[m52g5c2\x82O0c3g2i10}aw[c4g431332}b2wm15\xcf0c0g4e5c6e7~6<0c8qg531540g53231322}awm12}|X6:0i10}[530^m62c9g5c:326^0c3g3c4g431g6332c0g4~670e;540e<`31322}awm15_0g5c=\x82G0c0g4e;g631322}awm15C0g6D6<0c>qg531530^5_/2e?c@qg3322cAg441;" #(#fn(io.write)
- #int32(0) label #fn(put!) #fn(sizeof) byte #fn(get) Instructions #fn("7000r1|c0\x8250c1;|c2\x8250c3;|c4\x8250c5;|c6\x8250c7;|c8\x8250c9;|c:\x8250c;;i05;" #(jmp
+ encode-byte-code #fn("8000x1j0l1\x81K1L1S" #(#fn("8000x1j0l1\x81K1L1S" #(#fn(";000x1j09l1j2\x81K1i3j2\x81K1i2][2}j3K2L1S" #(#fn("=000x1j09j1\x83K1gj2K0j2K0j3K0eeL7S" #(#fn("?000x7j0n4j1K2Jd\x82\x81_N\xff0Jp10\x82at5Jn5j2\x87O0j3n2p10\x82h}aj4n4K1K3J\x82i2}t1M\xcf0j0n4l5j6l7\x83N<0j89n5K1M40n5K2K1K2J\x82h}t1J\x82\x81_N:0p10\x82aM30et6Jj9n5j:K2N^0j3n3j4n4K1n6K3Jj0n4\x83N70l;M40l<gK1K2J\x82h}t1M_0n5j=\x87G0j0n4l;n6K1K2J\x82h}t1MC0n6?N<0j>9n5K1M30eM_/Jl?j@9n3K2JjAn4L1S" #(#fn(io.write)
+ #int32(0) label #fn(put!) #fn(sizeof) byte #fn(get) Instructions #fn("7000x1\x81j0\x8750j1S\x81j2\x8750j3S\x81j4\x8750j5S\x81j6\x8750j7S\x81j8\x8750j9S\x81j:\x8750j;Sp05S" #(jmp
jmp.l brt brt.l brf brf.l brne brne.l brnn brnn.l brn brn.l))
- #fn(memq) (jmp brf brt brne brnn brn) int32 int16 brbound #fn(":000r1c0|c1326H0c2i04e3i0631322\x7fawo01;c0|c4326`0c2i04e5i0631322\x7fawo012c2i04e5i20\x7f[31322\x7fawo01;c0|c6326\x820c2i04e3i0631322\x7fawo012c2i04e3i20\x7f[31322\x7fawo012i05c7\x82J0c2i04e3i20\x7f[31322\x7fawo01;];c2i04e5i0631322\x7fawo01;" #(#fn(memq)
+ #fn(memq) (jmp brf brt brne brnn brn) int32 int16 brbound #fn(":000x1j0\x81j1K2NH0j2p04l3p06K1K2J\x84h}v01Sj0\x81j4K2N`0j2p04l5p06K1K2J\x84h}v01Jj2p04l5p20\x84aK1K2J\x84h}v01Sj0\x81j6K2N\x820j2p04l3p06K1K2J\x84h}v01Jj2p04l3p20\x84aK1K2J\x84h}v01Jp05j7\x87J0j2p04l3p20\x84aK1K2J\x84h}v01SdSj2p04l5p06K1K2J\x84h}v01S" #(#fn(memq)
(loadv.l loadg.l setg.l loada.l seta.l largc lvargc call.l tcall.l)
#fn(io.write) int32 (loadc setc) uint8 (loadc.l setc.l optargs keyargs)
- keyargs)) table.foreach #fn("<000r2c0i04|322c1i04i10670e2540e3c4i02}32|x3142;" #(#fn(io.seek)
+ keyargs)) table.foreach #fn("<000x2j0p04\x81K2Jj1p04p10N70l2M40l3j4p02\x82K2\x81~K1L2S" #(#fn(io.seek)
#fn(io.write) int32 int16 #fn(get))) #fn(io.tostring!)))
#fn(length) #fn(table) #fn(buffer))) >= #fn(length) 65536)) list->vector))
- reverse!) encode-byte-code)
- error #fn(":000s0c0c1|K41;" #(#fn(raise) error) error) eval
- #fn("8000r1e0e1|313140;" #(compile-thunk expand) eval) even? #fn("8000r1c0|a32`W;" #(#fn(logand)) even?)
- every #fn("8000r2}?17D02|}M3116:02e0|}N42;" #(every) every) expand
- #fn("A000r1c0q]]]]]]]]]]]4;;" #(#fn("8000r;c0m02c1qm12c2L1m22c3qm32c4qm42c5qm52c6qm62c7qm72c8qm82c9m92c:qm:2g:~_42;" #(#fn("8000r2|E17902c0|}32@;" #(#fn(assq)) top?)
- #fn("9000r1|?640|;|c0>640|;|MF16;02e1|31c2<6D0c3\x7fe4|3131\x7f|N3142;|M\x7f|N31K;" #(((begin))
- caar begin #fn(append) cdar) splice-begin) *expanded* #fn("9000r2|?640|;c0q~c1}32690\x7f|31530|41;" #(#fn("9000r1c0qi10c1\x7f3241;" #(#fn("8000r1c0q|6:0e1~31530_41;" #(#fn(":000r1c0qc1c2c3|32i213241;" #(#fn("8000r1i107=0c0c1qi2042;c2qc3q]31i203141;" #(#fn(map)
- #fn("8000r1i5:|~42;" #()) #fn("7000r1c0q|41;" #(#fn("9000r1]|F6]02i62e0|31<7A0|i6:|Mi1032O590|e1|31O2|Nm05\x02/2~;" #(caar
- cdar)))) #fn("6000r1c0qm02|;" #(#fn("9000r1|?640|;|MF16;02c0e1|31<6;0|M~|N31K;c2qi6:|Mi103241;" #(define
- caar #fn(":000r1c0c1c2e3|3132i2032o202i72|Ki10~N31K;" #(#fn(nconc)
- #fn(map) #.list
- get-defined-vars))))))))
+ reverse!) encode-byte-code)
+ error #fn(":000y0j0j1\x81FL1S" #(#fn(raise) error) error) eval
+ #fn("8000x1l0l1\x81K1K1L0S" #(compile-thunk expand) eval) even? #fn("8000x1j0\x81hK2g^S" #(#fn(logand)) even?)
+ every #fn("8000x2\x82;IOD0J\x81\x824K1IN:0Jl0\x81\x825L2S" #(every) every)
+ expand #fn("A000x1j09dddddddddddL;S" #(#fn("8000x;j0t0Jj19t1Jj2W1t2Jj39t3Jj49t4Jj59t5Jj69t6Jj79t7Jj89t8Jj9t9Jj:9t:Jn:\x83fL2S" #(#fn("8000x2\x81AIO90Jj0\x81\x82K27S" #(#fn(assq)) top?)
+ #fn("9000x1\x81;N40\x81S\x81j0VN40\x81S\x814:IN;0Jl1\x81K1j2TND0j3\x84l4\x81K1K1\x84\x815K1L2S\x814\x84\x815K1FS" #(((begin))
+ caar begin #fn(append) cdar) splice-begin) *expanded* #fn("9000x2\x81;N40\x81Sj09\x83j1\x82K2N90\x84\x81K1M30\x81L1S" #(#fn("9000x1j09p10j1\x84K2L1S" #(#fn("8000x1j09\x81N:0l1\x83K1M30fL1S" #(#fn(":000x1j09j1j2j3\x81K2p21K2L1S" #(#fn("8000x1p10O=0j0j19p20L2Sj29j39dK1p20K1L1S" #(#fn(map)
+ #fn("8000x1p5:\x81\x83L2S" #()) #fn("7000x1j09\x81L1S" #(#fn("9000x1d\x81:N]0Jp62l0\x81K1TOA0\x81p6:\x814p10K2GM90\x81l1\x81K1GJ\x815t0M\x02/J\x83S" #(caar
+ cdar)))) #fn("6000x1j09t0J\x81S" #(#fn("9000x1\x81;N40\x81S\x814:IN;0Jj0l1\x81K1TN;0\x814\x83\x815K1FSj29p6:\x814p10K2L1S" #(define
+ caar #fn(":000x1j0j1j2l3\x81K1K2p20K2v20Jp72\x81Fp10\x835K1FS" #(#fn(nconc)
+ #fn(map) #.list
+ get-defined-vars))))))))
#fn(nconc) #fn(map) #.list)) get-defined-vars)) define)) begin) expand-body)
- #fn(":000r2|?640|;|MF16702|MNF6G0e0|31i0:e1|31}32L2540|Mi04|N}32K;" #(caar
- cadar) expand-lambda-list) #fn("8000r1|?660|L1;|MF6@0e0|31i05|N31K;|Mi05|N31K;" #(caar) l-vars)
- #fn(";000r2c0q|\x84e1|31e2|31i05|\x843144;" #(#fn(":000r4c0qc1c2c3g332\x7f3241;" #(#fn(";000r1c0c1L1i24~|32L1i23i02|32\x7f44;" #(#fn(nconc)
+ #fn(":000x2\x81;N40\x81S\x814:IN70J\x8145:NG0l0\x81K1p0:l1\x81K1\x82K2W2M40\x814p04\x815\x82K2FS" #(caar
+ cadar) expand-lambda-list) #fn("8000x1\x81;N60\x81W1S\x814:N@0l0\x81K1p05\x815K1FS\x814p05\x815K1FS" #(caar) l-vars)
+ #fn(";000x2j09\x816l1\x81K1l2\x81K1p05\x816K1L4S" #(#fn(":000x4j09j1j2j3n3K2\x84K2L1S" #(#fn(";000x1j0j1W1p24\x83\x81K2W1p23p02\x81K2\x84L4S" #(#fn(nconc)
lambda)) #fn(nconc) #fn(map) #.list)) lastcdr cddr) expand-lambda)
- #fn("<000r2|NA17602|\x84?6N0e0|31\x8540|;c1|\x84i0:e2|31}32L3;c3qe4|31e5|31e0|31i05e4|313144;" #(cddr
- define caddr #fn(":000r4c0qc1c2c3g332\x7f3241;" #(#fn(";000r1c0c1L1\x7fi24~|32KL1i23i02|3243;" #(#fn(nconc)
+ #fn("<000x2\x815<IO60J\x816;NN0l0\x81K1\x8940\x81Sj1\x816p0:l2\x81K1\x82K2W3Sj39l4\x81K1l5\x81K1l0\x81K1p05l4\x81K1K1L4S" #(cddr
+ define caddr #fn(":000x4j09j1j2j3n3K2\x84K2L1S" #(#fn(";000x1j0j1W1\x84p24\x83\x81K2FW1p23p02\x81K2L3S" #(#fn(nconc)
define)) #fn(nconc) #fn(map) #.list)) cdadr caadr) expand-define)
- #fn("7000r2c0q|\x8441;" #(#fn("<000r1c0i13e1~31c2c3c4q|32\x7f3232K;" #(begin
- cddr #fn(nconc) #fn(map) #fn(":000r1|Me0i2:|\x84i11323130i11L3;" #(compile-thunk))))) expand-let-syntax)
- #fn("6000r2|;" #() local-expansion-env)
- #fn("7000r2|?640|;c0q|M41;" #(#fn("9000r1c0qc1|\x7f3241;" #(#fn("7000r1c0qc1q41;" #(#fn(":000r1~16602~NF6M0i3:~\x84i20NQ2i39e0~31i213242;~17A02i10C@17702i10E660|40;c1qe2i203141;" #(caddr
- #fn("8000r1|6B0i4:|i30NQ2i3142;i20c0\x8260i30;i20c1\x82>0i46i30i3142;i20c2\x82>0i47i30i3142;i20c3\x82>0i48i30i3142;~40;" #(quote
+ #fn("7000x2j09\x816L1S" #(#fn("<000x1j0p13l1\x83K1j2j3j49\x81K2\x84K2K2FS" #(begin
+ cddr #fn(nconc) #fn(map) #fn(":000x1\x814l0p2:\x816p11K2K1K0p11W3S" #(compile-thunk))))) expand-let-syntax)
+ #fn("6000x2\x81S" #() local-expansion-env)
+ #fn("7000x2\x81;N40\x81Sj09\x814L1S" #(#fn("9000x1j09j1\x81\x84K2L1S" #(#fn("7000x1j09j19L1S" #(#fn(":000x1\x83IN60J\x835:NM0p3:\x836p205X2p39l0\x83K1p21K2L2S\x83IOA0Jp10>7IO70Jp10AN60\x81L0Sj19l2p20K1L1S" #(caddr
+ #fn("8000x1\x81NB0p4:\x81p305X2p31L2Sp20j0\x8760p30Sp20j1\x87>0p46p30p31L2Sp20j2\x87>0p47p30p31L2Sp20j3\x87>0p48p30p31L2S\x83L0S" #(quote
lambda define let-syntax)) macrocall?))
- #fn("7000r0c0q]31i2041;" #(#fn("6000r1c0qm02|;" #(#fn("9000r1|?640|;|M?670|M5<0i4:|Mi3132~|N31K;" #())))))))
- #fn(assq)))) expand-in)))) expand)
- expand-define #fn("=000r1c0|\x84e1|31F6:0e1|315L0|\x84C6;0e230L15=0e3c4e5|313242;" #(#fn("<000r2|C6:0c0|}ML3;c0|Mc1c2L1|NL1c3}31|M34L3;" #(set!
+ #fn("7000x0j09dK1p20L1S" #(#fn("6000x1j09t0J\x81S" #(#fn("9000x1\x81;N40\x81S\x814;N70\x814M<0p4:\x814p31K2\x83\x815K1FS" #())))))))
+ #fn(assq)))) expand-in)))) expand)
+ expand-define #fn("=000x1j0\x816l1\x81K1:N:0l1\x81K1ML0\x816>N;0l2K0W1M=0l3j4l5\x81K1K2L2S" #(#fn("<000x2\x81>N:0j0\x81\x824W3Sj0\x814j1j2W1\x815W1j3\x82K1\x814K4W3S" #(set!
#fn(nconc) lambda #fn(copy-list))) cddr void error "compile error: invalid syntax "
print-to-string) expand-define)
- filter #fn("7000r2c0q]41;" #(#fn("9000r1c0qm02|~\x7f_L143;" #(#fn("9000r3g2]}F6S02i10}M316?0g2}M_KPNm2530]2}Nm15\f/2N;" #() filter-)))) filter)
- fits-i8 #fn("8000r1|I16F02e0|b\xb03216:02e1|b\xaf42;" #(>= <=) fits-i8)
- foldl #fn(":000r3g2\x8540};e0||g2M}32g2N43;" #(foldl) foldl) foldr
- #fn(";000r3g2\x8540};|g2Me0|}g2N3342;" #(foldr) foldr) for-each #fn(";000s2c0q]41;" #(#fn(":000r1c0qm02i02\x85J0]\x7fF6A02~\x7fM312\x7fNo015\x1e/5;0|~\x7fi02K322];" #(#fn(":000r2}MF6I0|c0c1}32Q22~|c0c2}3242;];" #(#fn(map)
+ filter #fn("7000x2j09dL1S" #(#fn("9000x1j09t0J\x81\x83\x84fW1L3S" #(#fn("9000x3n2d\x82:NS0Jp10\x824K1N?0n2\x824fFH5t2M30dJ\x825t1M\x0c/J5S" #() filter-)))) filter)
+ fits-i8 #fn("8000x1\x81@INF0Jl0\x81i\xb0K2IN:0Jl1\x81i\xafL2S" #(>=
+ <=) fits-i8)
+ foldl #fn(":000x3n2\x8940\x82Sl0\x81\x81n24\x82K2n25L3S" #(foldl) foldl)
+ foldr #fn(";000x3n2\x8940\x82S\x81n24l0\x81\x82n25K3L2S" #(foldr) foldr)
+ for-each #fn(";000y2j09dL1S" #(#fn(":000x1j09t0Jp02\x89J0d\x84:NA0J\x83\x844K1J\x845v01M\x1e/M;0\x81\x83\x84p02FK2JdS" #(#fn(":000x2\x824:NI0\x81j0j1\x82K2X2J\x83\x81j0j2\x82K2L2SdS" #(#fn(map)
#.car #.cdr) for-each-n)))) for-each)
- get-defined-vars #fn("8000r1e0~|3141;" #(delete-duplicates) #1=#(#fn("9000r1|?640_;|Mc0<16602|NF6d0|\x84C16702|\x84L117S02|\x84F16E02e1|31C16:02e1|31L117402_;|Mc2\x82>0c3c4~|N32v2;_;" #(define
+ get-defined-vars #fn("8000x1l0\x83\x81K1L1S" #(delete-duplicates) #1=#(#fn("9000x1\x81;N40fS\x814j0TIN60J\x815:Nd0\x816>IN70J\x816W1IOS0J\x816:INE0Jl1\x81K1>IN:0Jl1\x81K1W1IO40JfS\x814j2\x87>0j3j4\x83\x815K2|2SfS" #(define
caadr begin #fn(nconc) #fn(map)) #1#) ()))
- hex5 #fn("9000r1e0c1|b@32b5c243;" #(string.lpad #fn(number->string)
- #\0) hex5)
- identity #fn("6000r1|;" #() identity) in-env?
- #fn("8000r2}F16F02c0|}M3217:02e1|}N42;" #(#fn(memq) in-env?) in-env?)
- index-of #fn(":000r3}\x8540^;|}M\x8250g2;e0|}Ng2aw43;" #(index-of) index-of)
- io.readall #fn("7000r1c0qc13041;" #(#fn("8000r1c0|~322c1qc2|3141;" #(#fn(io.copy)
- #fn("7000r1|c0>16:02c1i1031670c240;|;" #("" #fn(io.eof?)
- #fn(eof-object)))
+ hex5 #fn("9000x1l0j1\x81i@K2i5j2L3S" #(string.lpad #fn(number->string)
+ #\0) hex5)
+ identity #fn("6000x1\x81S" #() identity) in-env?
+ #fn("8000x2\x82:INF0Jj0\x81\x824K2IO:0Jl1\x81\x825L2S" #(#fn(memq)
+ in-env?) in-env?)
+ index-of #fn(":000x3\x82\x8940eS\x81\x824\x8750n2Sl0\x81\x825n2h}L3S" #(index-of) index-of)
+ io.readall #fn("7000x1j09j1K0L1S" #(#fn("8000x1j0\x81\x83K2Jj19j2\x81K1L1S" #(#fn(io.copy)
+ #fn("7000x1\x81j0VIN:0Jj1p10K1N70j2L0S\x81S" #("" #fn(io.eof?)
+ #fn(eof-object)))
#fn(io.tostring!))) #fn(buffer)) io.readall)
- io.readline #fn("8000r1c0|c142;" #(#fn(io.readuntil) #\newline) io.readline)
- io.readlines #fn("8000r1e0e1|42;" #(read-all-of io.readline) io.readlines)
- iota #fn("8000r1e0e1|42;" #(map-int identity) iota) keyword->symbol
- #fn("9000r1c0|316@0c1c2c3|313141;|;" #(#fn(keyword?)
- #fn(symbol)
- #fn("<000r1c0|`c1|c2|313243;" #(#fn(string.sub)
- #fn(string.dec) #fn(length))) #fn(string)) keyword->symbol)
- keyword-arg? #fn("7000r1|F16902c0|M41;" #(#fn(keyword?)) keyword-arg?)
- lambda-arg-names #fn("9000r1e0c1e2|3142;" #(map! #fn("7000r1|F690e0|M41;|;" #(keyword->symbol))
- to-proper) lambda-arg-names)
- lambda-vars #fn("7000r1c0q]41;" #(#fn(":000r1c0qm02|~~^^342e1~41;" #(#fn(";000r4|A17502|C640];|F16602|MC6S0g217502g36<0e0c1}c243;~|N}g2g344;|F16602|MF6\x870e3|Mb23216902e4|31C660^5=0e0c5|Mc6}342c7e4|31316<0~|N}g2]44;g36<0e0c1}c843;~|N}]g344;|F6>0e0c9|Mc6}44;|}\x82:0e0c1}42;e0c9|c6}44;" #(error
+ io.readline #fn("8000x1j0\x81j1L2S" #(#fn(io.readuntil) #\newline) io.readline)
+ io.readlines #fn("8000x1l0l1\x81L2S" #(read-all-of io.readline) io.readlines)
+ iota #fn("8000x1l0l1\x81L2S" #(map-int identity) iota)
+ keyword->symbol #fn("9000x1j0\x81K1N@0j1j2j3\x81K1K1L1S\x81S" #(#fn(keyword?)
+ #fn(symbol) #fn("<000x1j0\x81gj1\x81j2\x81K1K2L3S" #(#fn(string.sub)
+ #fn(string.dec)
+ #fn(length)))
+ #fn(string)) keyword->symbol)
+ keyword-arg? #fn("7000x1\x81:IN90Jj0\x814L1S" #(#fn(keyword?)) keyword-arg?)
+ lambda-arg-names #fn("9000x1l0j1l2\x81K1L2S" #(map! #fn("7000x1\x81:N90l0\x814L1S\x81S" #(keyword->symbol))
+ to-proper) lambda-arg-names)
+ lambda-vars #fn("7000x1j09dL1S" #(#fn(":000x1j09t0J\x81\x83\x83eeK4Jl1\x83L1S" #(#fn(";000x4\x81<IO50J\x81>N40dS\x81:IN60J\x814>NS0n2IO50Jn3N<0l0j1\x82j2L3S\x83\x815\x82n2n3L4S\x81:IN60J\x814:N\x870l3\x814i2K2IN90Jl4\x81K1>N60eM=0l0j5\x814j6\x82K4Jj7l4\x81K1K1N<0\x83\x815\x82n2dL4Sn3N<0l0j1\x82j8L3S\x83\x815\x82dn3L4S\x81:N>0l0j9\x814j6\x82L4S\x81\x82\x87:0l0j1\x82L2Sl0j9\x81j6\x82L4S" #(error
"compile error: invalid argument list "
". optional arguments must come after required." length= caar "compile error: invalid optional argument "
" in list " #fn(keyword?) ". keyword arguments must come last."
"compile error: invalid formal argument ") check-formals) lambda-arg-names))) lambda-vars)
- last-pair #fn("7000r1|N?640|;e0|N41;" #(last-pair) last-pair) lastcdr
- #fn("7000r1|?640|;e0|31N;" #(last-pair) lastcdr) length= #fn("9000r2}`X640^;}`W650|?;|?660}`W;e0|N}ax42;" #(length=) length=)
- length> #fn("9000r2}`X640|;}`W6;0|F16402|;|?660}`X;e0|N}ax42;" #(length>) length>)
- list->vector #fn("7000r1c0|v2;" #(#.vector) list->vector) list-head
- #fn(":000r2e0}`32640_;|Me1|N}ax32K;" #(<= list-head) list-head)
- list-ref #fn("8000r2e0|}32M;" #(list-tail) list-ref) list-tail
- #fn("9000r2e0}`32640|;e1|N}ax42;" #(<= list-tail) list-tail) list? #fn("7000r1|A17@02|F16902e0|N41;" #(list?) list?)
- load #fn("9000r1c0qc1|c23241;" #(#fn("7000r1c0qc1qt;" #(#fn("9000r0c0q]31]]]43;" #(#fn("6000r1c0qm02|;" #(#fn(":000r3c0i10317C0~c1i1031|e2}3143;c3i10312e2}41;" #(#fn(io.eof?)
+ last-pair #fn("7000x1\x815;N40\x81Sl0\x815L1S" #(last-pair) last-pair)
+ lastcdr #fn("7000x1\x81;N40\x81Sl0\x81K15S" #(last-pair) lastcdr)
+ length= #fn("9000x2\x82g_N40eS\x82g^N50\x81;S\x81;N60\x82g^Sl0\x815\x82h~L2S" #(length=) length=)
+ length> #fn("9000x2\x82g_N40\x81S\x82g^N;0\x81:IN40J\x81S\x81;N60\x82g_Sl0\x815\x82h~L2S" #(length>) length>)
+ list->vector #fn("7000x1j0\x81|2S" #(#.vector) list->vector)
+ list-head #fn(":000x2l0\x82gK2N40fS\x814l1\x815\x82h~K2FS" #(<=
+ list-head) list-head)
+ list-ref #fn("8000x2l0\x81\x82K24S" #(list-tail) list-ref) list-tail
+ #fn("9000x2l0\x82gK2N40\x81Sl1\x815\x82h~L2S" #(<= list-tail) list-tail)
+ list? #fn("7000x1\x81<IO@0J\x81:IN90Jl0\x815L1S" #(list?) list?) load
+ #fn("9000x1j09j1\x81j2K2L1S" #(#fn("7000x1j09j19zS" #(#fn("9000x0j09dK1dddL3S" #(#fn("6000x1j09t0J\x81S" #(#fn(":000x3j0p10K1OC0\x83j1p10K1\x81l2\x82K1L3Sj3p10K1Jl2\x82L1S" #(#fn(io.eof?)
#fn(read) load-process #fn(io.close)))))))
- #fn("9000r1c0~312c1c2i10|L341;" #(#fn(io.close)
+ #fn("9000x1j0\x83K1Jj1j2p10\x81W3L1S" #(#fn(io.close)
#fn(raise) load-error)))) #fn(file) :read) load)
- load-process #fn("7000r1e0|41;" #(eval) load-process) lookup-sym
- #fn("7000r4}\x8550c0;c1q}M41;" #((global)
- #fn(":000r1c0qe1~|`3341;" #(#fn(";000r1|6@0i13640|;i12|K;e0i10i11Ni1317502~A680i12570i12aw^44;" #(lookup-sym))
+ load-process #fn("7000x1l0\x81L1S" #(eval) load-process) lookup-sym
+ #fn("7000x4\x82\x8950j0Sj19\x824L1S" #((global)
+ #fn(":000x1j09l1\x83\x81gK3L1S" #(#fn(";000x1\x81N@0p13N40\x81Sp12\x81FSl0p10p115p13IO50J\x83<N80p12M70p12h}eL4S" #(lookup-sym))
index-of))) lookup-sym)
- macrocall? #fn("7000r1|MC16902e0|M41;" #(symbol-syntax) macrocall?)
- macroexpand-1 #fn("8000r1|?640|;c0qe1|3141;" #(#fn("7000r1|680|~Nv2;~;" #())
- macrocall?) macroexpand-1)
- make-code-emitter #fn("9000r0_c030`c1Z4;" #(#fn(table) +inf.0) make-code-emitter)
- make-label #fn("6000r1c040;" #(#fn(gensym)) make-label)
- make-perfect-hash-table #fn("7000r1c0q]41;" #(#fn("8000r1c0m02c1q]31c2~3141;" #(#fn("9000r2e0e1c2|3131}42;" #(mod0
- abs #fn(hash)) $hash-keyword) #fn("6000r1c0qm02|;" #(#fn("9000r1c0qc1b2|T2^3241;" #(#fn("7000r1c0q]31i3041;" #(#fn("6000r1c0qm02|;" #(#fn("8000r1|F6=0c0qe1|3141;i10;" #(#fn(":000r1c0qb2i50|i3032T241;" #(#fn("9000r1i30|[6=0i50i40aw41;i30|~\\2i30|awe0i1031\\2i20i10N41;" #(cdar))))
+ macrocall? #fn("7000x1\x814>IN90Jl0\x814L1S" #(symbol-syntax) macrocall?)
+ macroexpand-1 #fn("8000x1\x81;N40\x81Sj09l1\x81K1L1S" #(#fn("7000x1\x81N80\x81\x835|2S\x83S" #())
+ macrocall?) macroexpand-1)
+ make-code-emitter #fn("9000x0fj0K0gj1b4S" #(#fn(table) +inf.0) make-code-emitter)
+ make-label #fn("6000x1j0L0S" #(#fn(gensym)) make-label)
+ make-perfect-hash-table #fn("7000x1j09dL1S" #(#fn("8000x1j0t0Jj19dK1j2\x83K1L1S" #(#fn("9000x2l0l1j2\x81K1K1\x82L2S" #(mod0
+ abs #fn(hash)) $hash-keyword) #fn("6000x1j09t0J\x81S" #(#fn("9000x1j09j1i2\x81[2eK2L1S" #(#fn("7000x1j09dK1p30L1S" #(#fn("6000x1j09t0J\x81S" #(#fn("8000x1\x81:N=0j09l1\x81K1L1Sp10S" #(#fn(":000x1j09i2p50\x81p30K2[2L1S" #(#fn("9000x1p30\x81aN=0p50p40h}L1Sp30\x81\x83cJp30\x81h}l0p10K1cJp20p105L1S" #(cdar))))
caar)))))) #fn(vector.alloc))))) #fn(length)))) make-perfect-hash-table)
- make-system-image #fn(";000r1c0c1|c2c3c434c542;" #(#fn("8000r2c0qe1e242;" #(#fn("7000r2]k02]k12c2qc3q41;" #(*print-pretty*
- *print-readably* #fn("7000r1c0qc1qt|302;" #(#fn(":000r0c0qe1c2qe3c4303132312c5i2041;" #(#fn("=000r1c0c1c2c3|c2c4|3233Q2i20322c5i20e642;" #(#fn(write)
+ make-system-image #fn(";000x1j0j1\x81j2j3j4K4j5L2S" #(#fn("8000x2j09l1l2L2S" #(#fn("7000x2dr0Jdr1Jj29j39L1S" #(*print-pretty*
+ *print-readably* #fn("7000x1j09j19z\x81K0JS" #(#fn(":000x0j09l1j29l3j4K0K1K2K1Jj5p20L1S" #(#fn("=000x1j0j1j2j3\x81j2j4\x81K2K3X2p20K2Jj5p20l6L2S" #(#fn(write)
#fn(nconc) #fn(map) #.list #fn(top-level-value)
- #fn(io.write) *linefeed*)) filter #fn("9000r1|E16w02c0|31@16l02c1|31G@17C02c2|31c2c1|3131>@16K02c3|i2132@16=02c4c1|3131@;" #(#fn(constant?)
+ #fn(io.write) *linefeed*)) filter #fn("9000x1\x81AINw0Jj0\x81K17INl0Jj1\x81K1B7IOC0Jj2\x81K1j2j1\x81K1K1V7INK0Jj3\x81p21K27IN=0Jj4j1\x81K1K17S" #(#fn(constant?)
#fn(top-level-value) #fn(string) #fn(memq)
#fn(iostream?))) simple-sort #fn(environment)
- #fn(io.close))) #fn("7000r1~302c0|41;" #(#fn(raise)))))
- #fn("6000r0~k02\x7fk1;" #(*print-pretty* *print-readably*)))) *print-pretty*
- *print-readably*)) #fn(file) :write :create :truncate (*linefeed*
- *directory-separator*
- *argv* that
- *print-pretty*
- *print-width*
- *print-readably*
- *print-level*
- *print-length*
- *os-name*)) make-system-image)
- map! #fn("9000r2}]}F6B02}|}M31O2}Nm15\x1d/2;" #() map!) map-int
- #fn("8000r2e0}`32640_;c1q|`31_K_42;" #(<= #fn(":000r2|m12a\x7faxc0qu2|;" #(#fn("8000r1\x7fi10|31_KP2\x7fNo01;" #())))) map-int)
- mark-label #fn("9000r2e0|c1}43;" #(emit label) mark-label) max
- #fn("<000s1}\x8540|;e0c1|}43;" #(foldl #fn("7000r2|}X640};|;" #())) max)
- member #fn("8000r2}?640^;}M|>640};e0|}N42;" #(member) member) memv
- #fn("8000r2}?640^;}M|=640};e0|}N42;" #(memv) memv) min #fn("<000s1}\x8540|;e0c1|}43;" #(foldl
- #fn("7000r2|}X640|;};" #())) min)
- mod #fn("9000r2|e0|}32}T2x;" #(div) mod) mod0
- #fn("8000r2||}V}T2x;" #() mod0) nan? #fn("7000r1|c0>17702|c1>;" #(+nan.0
+ #fn(io.close))) #fn("7000x1\x83K0Jj0\x81L1S" #(#fn(raise)))))
+ #fn("6000x0\x83r0J\x84r1S" #(*print-pretty* *print-readably*))))
+ *print-pretty* *print-readably*)) #fn(file) :write :create :truncate (*linefeed*
+ *directory-separator* *argv* that *print-pretty* *print-width*
+ *print-readably* *print-level* *print-length* *os-name*)) make-system-image)
+ map! #fn("9000x2\x82d\x82:NB0J\x82\x81\x824K1GJ\x825t1M\x1d/JS" #() map!)
+ map-int #fn("8000x2l0\x82gK2N40fSj19\x81gK1fFfL2S" #(<= #fn(":000x2\x81t1Jh\x84h~j09{J\x81S" #(#fn("8000x1\x84p10\x81K1fFHJ\x845v01S" #())))) map-int)
+ mark-label #fn("9000x2l0\x81j1\x82L3S" #(emit label) mark-label) max
+ #fn("<000y1\x82\x8940\x81Sl0j1\x81\x82L3S" #(foldl #fn("7000x2\x81\x82_N40\x82S\x81S" #())) max)
+ member #fn("8000x2\x82;N40eS\x824\x81VN40\x82Sl0\x81\x825L2S" #(member) member)
+ memv #fn("8000x2\x82;N40eS\x824\x81UN40\x82Sl0\x81\x825L2S" #(memv) memv)
+ min #fn("<000y1\x82\x8940\x81Sl0j1\x81\x82L3S" #(foldl #fn("7000x2\x81\x82_N40\x81S\x82S" #())) min)
+ mod #fn("9000x2\x81l0\x81\x82K2\x82[2~S" #(div) mod) mod0
+ #fn("8000x2\x81\x81\x82]\x82[2~S" #() mod0) nan? #fn("7000x1\x81j0VIO70J\x81j1VS" #(+nan.0
-nan.0) nan?)
- negative? #fn("7000r1|`X;" #() negative?) nestlist
- #fn(";000r3e0g2`32640_;}e1||}31g2ax33K;" #(<= nestlist) nestlist)
- newline #fn("9000\x8900001000\x8a0000770e0m02c1|e2322];" #(*output-stream*
+ negative? #fn("7000x1\x81g_S" #() negative?) nestlist
+ #fn(";000x3l0n2gK2N40fS\x82l1\x81\x81\x82K1n2h~K3FS" #(<= nestlist) nestlist)
+ newline #fn("9000\x8d00001000\x8e0000O70l0t0Jj1\x81l2K2JdS" #(*output-stream*
#fn(io.write) *linefeed*) newline)
- nnn #fn("8000r1e0c1|42;" #(count #fn("6000r1|A@;" #())) nnn) nreconc
- #fn("8000r2e0}|42;" #(reverse!-) nreconc) odd? #fn("7000r1e0|31@;" #(even?) odd?)
- positive? #fn("8000r1e0|`42;" #(>) positive?) princ
- #fn("9000s0c0qe141;" #(#fn("7000r1^k02c1qc2q41;" #(*print-readably*
- #fn("7000r1c0qc1qt|302;" #(#fn("8000r0e0c1i2042;" #(for-each
- #fn(write))) #fn("7000r1~302c0|41;" #(#fn(raise)))))
- #fn("6000r0~k0;" #(*print-readably*))))
- *print-readably*) princ)
- print #fn(":000s0e0c1|42;" #(for-each #fn(write)) print)
- print-exception #fn("=000r1|F16D02|Mc0<16:02e1|b4326P0e2c3|\x84c4e5|31c6352e7e8|31315\x070|F16D02|Mc9<16:02e1|b4326N0e2|\x84c:e8|31c;342e7e5|31315\xd00|F16@02|Mc<<16602|NF6?0e2c=|\x84c>335\xac0|F16802|Mc?<6B0e2c@312e2|NQ25\x8d0|F16802|McA<6G0eBe5|31312e2cC|\x84325i0eD|3116:02e1|b2326I0e7|M312e2cE312cF|\x84315>0e2cG312e7|312e2eH41;" #(type-error
+ nnn #fn("8000x1l0j1\x81L2S" #(count #fn("6000x1\x81<7S" #())) nnn)
+ nreconc #fn("8000x2l0\x82\x81L2S" #(reverse!-) nreconc) odd?
+ #fn("7000x1l0\x81K17S" #(even?) odd?) positive? #fn("8000x1l0\x81gL2S" #(>) positive?)
+ princ #fn("9000y0j09l1L1S" #(#fn("7000x1er0Jj19j29L1S" #(*print-readably*
+ #fn("7000x1j09j19z\x81K0JS" #(#fn("8000x0l0j1p20L2S" #(for-each
+ #fn(write))) #fn("7000x1\x83K0Jj0\x81L1S" #(#fn(raise)))))
+ #fn("6000x0\x83r0S" #(*print-readably*))))
+ *print-readably*) princ)
+ print #fn(":000y0l0j1\x81L2S" #(for-each #fn(write)) print)
+ print-exception #fn("=000x1\x81:IND0J\x814j0TIN:0Jl1\x81i4K2NP0l2j3\x816j4l5\x81K1j6K5Jl7l8\x81K1K1M\x070\x81:IND0J\x814j9TIN:0Jl1\x81i4K2NN0l2\x816j:l8\x81K1j;K4Jl7l5\x81K1K1M\xd00\x81:IN@0J\x814j<TIN60J\x815:N?0l2j=\x816j>K3M\xac0\x81:IN80J\x814j?TNB0l2j@K1Jl2\x815X2M\x8d0\x81:IN80J\x814jATNG0lBl5\x81K1K1Jl2jC\x816K2Mi0lD\x81K1IN:0Jl1\x81i2K2NI0l7\x814K1Jl2jEK1JjF\x816K1M>0l2jGK1Jl7\x81K1Jl2lHL1S" #(type-error
length= princ "type error: " ": expected " caddr ", got " print cadddr
bounds-error ": index " " out of bounds for " unbound-error "eval: variable "
" has no value" error "error: " load-error print-exception "in file " list?
- ": " #fn("8000r1c0|3117502|C670e1540e2|41;" #(#fn(string?) princ print))
+ ": " #fn("8000x1j0\x81K1IO50J\x81>N70l1M40l2\x81L1S" #(#fn(string?) princ
+ print))
"*** Unhandled exception: " *linefeed*) print-exception)
- print-stack-trace #fn("8000r1c0q]]42;" #(#fn("=000r2c0qm02c1qm12c2qe3e4~e5670b5540b43231e6e7c8c9c:303232`43;" #(#fn("8000r3c0qc1|31g2K41;" #(#fn("9000r1c0~31c0\x7f31\x82>0c1c2c3|L341;c4qc5~3141;" #(#fn(function:code)
- #fn(raise) thrown-value ffound #fn(":000r1`e0c1|3131c2qu;" #(1- #fn(length)
- #fn("9000r1e0~|[316A0i30~|[i21i1043;];" #(closure?))))
+ print-stack-trace #fn("8000x1j09ddL2S" #(#fn("=000x2j09t0Jj19t1Jj29l3l4\x83l5N70i5M40i4K2K1l6l7j8j9j:K0K2K2gL3S" #(#fn("8000x3j09j1\x81K1n2FL1S" #(#fn("9000x1j0\x83K1j0\x84K1\x87>0j1j2j3\x81W3L1Sj49j5\x83K1L1S" #(#fn(function:code)
+ #fn(raise) thrown-value ffound #fn(":000x1gl0j1\x81K1K1j29{S" #(1- #fn(length)
+ #fn("9000x1l0\x83\x81aK1NA0p30\x83\x81ap21p10L3SdS" #(closure?))))
#fn(function:vals))) #fn(function:name)) find-in-f)
- #fn("8000r2c0c1qc2t41;" #(#fn(";000r1|6H0c0e1c2c3e4|3132c53241;c6;" #(#fn(symbol)
+ #fn("8000x2j0j19j2zL1S" #(#fn(";000x1\x81NH0j0l1j2j3l4\x81K1K2j5K2L1Sj6S" #(#fn(symbol)
string.join #fn(map) #fn(string) reverse! "/" lambda))
- #fn("8000r0e0c1q\x7f322^;" #(for-each #fn("9000r1i10|~_43;" #())))
- #fn("7000r1|F16B02|Mc0<16802|\x84c1<680e2|41;c3|41;" #(thrown-value
- ffound caddr #fn(raise)))) fn-name) #fn("8000r3e0c1q|42;" #(for-each #fn("9000r1e0c1i02c2332e3i11|`[\x7f32e4|31NK312e5302i02awo02;" #(princ
+ #fn("8000x0l0j19\x84K2JeS" #(for-each #fn("9000x1p10\x81\x83fL3S" #())))
+ #fn("7000x1\x81:INB0J\x814j0TIN80J\x816j1TN80l2\x81L1Sj3\x81L1S" #(thrown-value
+ ffound caddr #fn(raise)))) fn-name) #fn("8000x3l0j19\x81L2S" #(for-each #fn("9000x1l0j1p02j2K3Jl3p11\x81ga\x84K2l4\x81K15FK1Jl5K0Jp02h}v02S" #(princ
"#" " " print vector->list newline)))) reverse! list-tail *interactive*
- filter closure? #fn(map) #fn("7000r1|E16802c0|41;" #(#fn(top-level-value)))
+ filter closure? #fn(map) #fn("7000x1\x81AIN80Jj0\x81L1S" #(#fn(top-level-value)))
#fn(environment)))) print-stack-trace)
- print-to-string #fn("7000r1c0qc13041;" #(#fn("8000r1c0~|322c1|41;" #(#fn(write)
+ print-to-string #fn("7000x1j09j1K0L1S" #(#fn("8000x1j0\x83\x81K2Jj1\x81L1S" #(#fn(write)
#fn(io.tostring!))) #fn(buffer)) print-to-string)
- printable? #fn("7000r1c0|3117802c1|31@;" #(#fn(iostream?)
- #fn(eof-object?)) printable?)
- quote-value #fn("7000r1e0|31640|;c1|L2;" #(self-evaluating? quote) quote-value)
- random #fn("8000r1c0|316<0e1c230|42;c330|T2;" #(#fn(integer?) mod #fn(rand)
- #fn(rand.double)) random)
- read-all #fn("8000r1e0c1|42;" #(read-all-of #fn(read)) read-all)
- read-all-of #fn("9000r2c0q]31_|}3142;" #(#fn("6000r1c0qm02|;" #(#fn("9000r2c0i1131680e1|41;~}|Ki10i113142;" #(#fn(io.eof?)
+ printable? #fn("7000x1j0\x81K1IO80Jj1\x81K17S" #(#fn(iostream?)
+ #fn(eof-object?)) printable?)
+ quote-value #fn("7000x1l0\x81K1N40\x81Sj1\x81W2S" #(self-evaluating?
+ quote) quote-value)
+ random #fn("8000x1j0\x81K1N<0l1j2K0\x81L2Sj3K0\x81[2S" #(#fn(integer?)
+ mod #fn(rand)
+ #fn(rand.double)) random)
+ read-all #fn("8000x1l0j1\x81L2S" #(read-all-of #fn(read)) read-all)
+ read-all-of #fn("9000x2j09dK1f\x81\x82K1L2S" #(#fn("6000x1j09t0J\x81S" #(#fn("9000x2j0p11K1N80l1\x81L1S\x83\x82\x81Fp10p11K1L2S" #(#fn(io.eof?)
reverse!))))) read-all-of)
- ref-int16-LE #fn(";000r2e0c1|}`w[`32c1|}aw[b832w41;" #(int16 #fn(ash)) ref-int16-LE)
- ref-int32-LE #fn("=000r2e0c1|}`w[`32c1|}aw[b832c1|}b2w[b@32c1|}b3w[bH32R441;" #(int32
+ ref-int16-LE #fn(";000x2l0j1\x81\x82g}agK2j1\x81\x82h}ai8K2}L1S" #(int16
+ #fn(ash)) ref-int16-LE)
+ ref-int32-LE #fn("=000x2l0j1\x81\x82g}agK2j1\x81\x82h}ai8K2j1\x81\x82i2}ai@K2j1\x81\x82i3}aiHK2Y4L1S" #(int32
#fn(ash)) ref-int32-LE)
- repl #fn("8000r0c0]]42;" #(#fn("6000r2c0m02c1qm12}302e240;" #(#fn("8000r0e0c1312c2e3312c4c5c6t41;" #(princ
- "> " #fn(io.flush) *output-stream* #fn("8000r1c0e131@16<02c2e3|3141;" #(#fn(io.eof?)
- *input-stream* #fn("7000r1e0|312|k12];" #(print that)) load-process))
- #fn("6000r0c040;" #(#fn(read))) #fn("7000r1c0e1312c2|41;" #(#fn(io.discardbuffer)
- *input-stream* #fn(raise)))) prompt)
- #fn("7000r0c0qc1t6;0e2302\x7f40;^;" #(#fn("7000r0~3016702e040;" #(newline))
- #fn("7000r1e0|312];" #(top-level-exception-handler))
+ repl #fn("8000x0j0ddL2S" #(#fn("6000x2j0t0Jj19t1J\x82K0Jl2L0S" #(#fn("8000x0l0j1K1Jj2l3K1Jj4j5j6zL1S" #(princ
+ "> " #fn(io.flush) *output-stream* #fn("8000x1j0l1K17IN<0Jj2l3\x81K1L1S" #(#fn(io.eof?)
+ *input-stream* #fn("7000x1l0\x81K1J\x81r1JdS" #(print that)) load-process))
+ #fn("6000x0j0L0S" #(#fn(read))) #fn("7000x1j0l1K1Jj2\x81L1S" #(#fn(io.discardbuffer)
+ *input-stream*
+ #fn(raise)))) prompt)
+ #fn("7000x0j09j1zN;0l2K0J\x84L0SeS" #(#fn("7000x0\x83K0IN70Jl0L0S" #(newline))
+ #fn("7000x1l0\x81K1JdS" #(top-level-exception-handler))
newline) reploop) newline))) repl)
- revappend #fn("8000r2e0}|42;" #(reverse-) revappend) reverse
- #fn("8000r1e0_|42;" #(reverse-) reverse) reverse! #fn("8000r1e0_|42;" #(reverse!-) reverse!)
- reverse!- #fn("9000r2]}F6B02}N}|}m02P2m15\x1d/2|;" #() reverse!-)
- reverse- #fn("8000r2}\x8540|;e0}M|K}N42;" #(reverse-) reverse-)
- self-evaluating? #fn("8000r1|?16602|C@17K02c0|3116A02|C16:02|c1|31<;" #(#fn(constant?)
+ revappend #fn("8000x2l0\x82\x81L2S" #(reverse-) revappend) reverse
+ #fn("8000x1l0f\x81L2S" #(reverse-) reverse) reverse! #fn("8000x1l0f\x81L2S" #(reverse!-) reverse!)
+ reverse!- #fn("9000x2d\x82:NB0J\x825\x82\x81\x82t0JHJt1M\x1d/J\x81S" #() reverse!-)
+ reverse- #fn("8000x2\x82\x8940\x81Sl0\x824\x81F\x825L2S" #(reverse-) reverse-)
+ self-evaluating? #fn("8000x1\x81;IN60J\x81>7IOK0Jj0\x81K1INA0J\x81>IN:0J\x81j1\x81K1TS" #(#fn(constant?)
#fn(top-level-value)) self-evaluating?)
- separate #fn("7000r2c0q]41;" #(#fn(":000r1c0m02|~\x7f_L1_L144;" #(#fn(";000r4c0g2g3K]}F6Z02|}M316?0g2}M_KPNm25<0g3}M_KPNm32}Nm15\x05/241;" #(#fn("8000r1e0|MN|NN42;" #(values))) separate-)))) separate)
- set-syntax! #fn("9000r2c0e1|}43;" #(#fn(put!)
- *syntax-environment*) set-syntax!)
- simple-sort #fn("7000r1|A17602|NA640|;c0q|M41;" #(#fn("8000r1e0c1qc2q42;" #(call-with-values
- #fn("8000r0e0c1qi10N42;" #(separate #fn("7000r1|~X;" #())))
- #fn(":000r2c0e1|31~L1e1}3143;" #(#fn(nconc) simple-sort))))) simple-sort)
- splice-form? #fn("8000r1|F16X02|Mc0<17N02|Mc1<17D02|Mc2<16:02e3|b23217702|c2<;" #(unquote-splicing
+ separate #fn("7000x2j09dL1S" #(#fn(":000x1j0t0J\x81\x83\x84fW1fW1L4S" #(#fn(";000x4j0n2n3Fd\x82:NZ0J\x81\x824K1N?0n2\x824fFH5t2M<0n3\x824fFH5t3J\x825t1M\x05/JL1S" #(#fn("8000x1l0\x8145\x8155L2S" #(values))) separate-)))) separate)
+ set-syntax! #fn("9000x2j0l1\x81\x82L3S" #(#fn(put!)
+ *syntax-environment*) set-syntax!)
+ simple-sort #fn("7000x1\x81<IO60J\x815<N40\x81Sj09\x814L1S" #(#fn("8000x1l0j19j29L2S" #(call-with-values
+ #fn("8000x0l0j19p105L2S" #(separate #fn("7000x1\x81\x83_S" #())))
+ #fn(":000x2j0l1\x81K1\x83W1l1\x82K1L3S" #(#fn(nconc) simple-sort))))) simple-sort)
+ splice-form? #fn("8000x1\x81:INX0J\x814j0TION0J\x814j1TIOD0J\x814j2TIN:0Jl3\x81i2K2IO70J\x81j2TS" #(unquote-splicing
unquote-nsplicing unquote length>) splice-form?)
- string.join #fn("7000r2|\x8550c0;c1qc23041;" #("" #fn("8000r1c0|~M322e1c2q~N322c3|41;" #(#fn(io.write)
- for-each #fn("8000r1c0~i11322c0~|42;" #(#fn(io.write)))
+ string.join #fn("7000x2\x81\x8950j0Sj19j2K0L1S" #("" #fn("8000x1j0\x81\x834K2Jl1j29\x835K2Jj3\x81L1S" #(#fn(io.write)
+ for-each #fn("8000x1j0\x83p11K2Jj0\x83\x81L2S" #(#fn(io.write)))
#fn(io.tostring!))) #fn(buffer)) string.join)
- string.lpad #fn(";000r3c0e1g2}c2|31x32|42;" #(#fn(string) string.rep
- #fn(string.count)) string.lpad)
- string.map #fn("9000r2c0qc130c2}3142;" #(#fn("7000r2c0q`312c1|41;" #(#fn(";000r1]|\x7fX6S02c0~i10c1i11|3231322c2i11|32m05\v/;" #(#fn(io.putc)
+ string.lpad #fn(";000x3j0l1n2\x82j2\x81K1~K2\x81L2S" #(#fn(string)
+ string.rep #fn(string.count)) string.lpad)
+ string.map #fn("9000x2j09j1K0j2\x82K1L2S" #(#fn("7000x2j09gK1Jj1\x81L1S" #(#fn(";000x1d\x81\x84_NS0Jj0\x83p10j1p11\x81K2K1K2Jj2p11\x81K2t0M\x0b/S" #(#fn(io.putc)
#fn(string.char) #fn(string.inc))) #fn(io.tostring!)))
- #fn(buffer)
- #fn(length)) string.map)
- string.rep #fn(";000r2}b4X6`0e0}`32650c1;}aW680c2|41;}b2W690c2||42;c2|||43;e3}316@0c2|e4|}ax3242;e4c2||32}b2U242;" #(<=
+ #fn(buffer)
+ #fn(length)) string.map)
+ string.rep #fn(";000x2\x82i4_N`0l0\x82gK2N50j1S\x82h^N80j2\x81L1S\x82i2^N90j2\x81\x81L2Sj2\x81\x81\x81L3Sl3\x82K1N@0j2\x81l4\x81\x82h~K2L2Sl4j2\x81\x81K2\x82i2\\2L2S" #(<=
"" #fn(string) odd? string.rep) string.rep)
- string.rpad #fn("<000r3c0|e1g2}c2|31x3242;" #(#fn(string) string.rep
- #fn(string.count)) string.rpad)
- string.tail #fn(";000r2c0|c1|`}3342;" #(#fn(string.sub)
- #fn(string.inc)) string.tail)
- string.trim #fn("8000r3c0q]]42;" #(#fn("8000r2c0qm02c1qm12c2qc3~3141;" #(#fn(";000r4g2g3X16?02c0}c1|g232326A0~|}c2|g232g344;g2;" #(#fn(string.find)
+ string.rpad #fn("<000x3j0\x81l1n2\x82j2\x81K1~K2L2S" #(#fn(string)
+ string.rep #fn(string.count)) string.rpad)
+ string.tail #fn(";000x2j0\x81j1\x81g\x82K3L2S" #(#fn(string.sub)
+ #fn(string.inc)) string.tail)
+ string.trim #fn("8000x3j09ddL2S" #(#fn("8000x2j09t0Jj19t1Jj29j3\x83K1L1S" #(#fn(";000x4n2n3_IN?0Jj0\x82j1\x81n2K2K2NA0\x83\x81\x82j2\x81n2K2n3L4Sn2S" #(#fn(string.find)
#fn(string.char) #fn(string.inc)) trim-start)
- #fn("<000r3e0g2`3216D02c1}c2|c3|g23232326?0\x7f|}c3|g23243;g2;" #(> #fn(string.find)
- #fn(string.char)
- #fn(string.dec)) trim-end)
- #fn("<000r1c0i10~i10i11`|34\x7fi10i12|3343;" #(#fn(string.sub)))
+ #fn("<000x3l0n2gK2IND0Jj1\x82j2\x81j3\x81n2K2K2K2N?0\x84\x81\x82j3\x81n2K2L3Sn2S" #(>
+ #fn(string.find) #fn(string.char) #fn(string.dec)) trim-end)
+ #fn("<000x1j0p10\x83p10p11g\x81K4\x84p10p12\x81K3L3S" #(#fn(string.sub)))
#fn(length)))) string.trim)
- symbol-syntax #fn("9000r1c0e1|^43;" #(#fn(get)
- *syntax-environment*) symbol-syntax)
- table.clone #fn("7000r1c0qc13041;" #(#fn("9000r1c0c1q_~332|;" #(#fn(table.foldl)
- #fn("9000r3c0~|}43;" #(#fn(put!))))) #fn(table)) table.clone)
- table.foreach #fn("9000r2c0c1q_}43;" #(#fn(table.foldl)
- #fn("8000r3~|}322];" #())) table.foreach)
- table.invert #fn("7000r1c0qc13041;" #(#fn("9000r1c0c1q_~332|;" #(#fn(table.foldl)
- #fn("9000r3c0~}|43;" #(#fn(put!))))) #fn(table)) table.invert)
- table.keys #fn("9000r1c0c1_|43;" #(#fn(table.foldl)
- #fn("7000r3|g2K;" #())) table.keys)
- table.pairs #fn("9000r1c0c1_|43;" #(#fn(table.foldl)
- #fn("7000r3|}Kg2K;" #())) table.pairs)
- table.values #fn("9000r1c0c1_|43;" #(#fn(table.foldl)
- #fn("7000r3}g2K;" #())) table.values)
- to-proper #fn("8000r1|\x8540|;|?660|L1;|Me0|N31K;" #(to-proper) to-proper)
- top-level-exception-handler #fn("7000r1c0qe141;" #(#fn("7000r1e0k12c2qc3q41;" #(*stderr*
- *output-stream* #fn("7000r1c0qc1qt|302;" #(#fn("7000r0e0i20312e1c23041;" #(print-exception
- print-stack-trace #fn(stacktrace))) #fn("7000r1~302c0|41;" #(#fn(raise)))))
- #fn("6000r0~k0;" #(*output-stream*)))) *output-stream*) top-level-exception-handler)
- trace #fn("8000r1c0qc1|31312c2;" #(#fn("7000r1c0qc13041;" #(#fn("@000r1e0~317e0c1i10e2c3|c4c5c6c7i10L2|L3L2c8L1c9c7~L2|L3L4L33142;];" #(traced?
+ symbol-syntax #fn("9000x1j0l1\x81eL3S" #(#fn(get)
+ *syntax-environment*) symbol-syntax)
+ table.clone #fn("7000x1j09j1K0L1S" #(#fn("9000x1j0j19f\x83K3J\x81S" #(#fn(table.foldl)
+ #fn("9000x3j0\x83\x81\x82L3S" #(#fn(put!)))))
+ #fn(table)) table.clone)
+ table.foreach #fn("9000x2j0j19f\x82L3S" #(#fn(table.foldl)
+ #fn("8000x3\x83\x81\x82K2JdS" #())) table.foreach)
+ table.invert #fn("7000x1j09j1K0L1S" #(#fn("9000x1j0j19f\x83K3J\x81S" #(#fn(table.foldl)
+ #fn("9000x3j0\x83\x82\x81L3S" #(#fn(put!)))))
+ #fn(table)) table.invert)
+ table.keys #fn("9000x1j0j1f\x81L3S" #(#fn(table.foldl)
+ #fn("7000x3\x81n2FS" #())) table.keys)
+ table.pairs #fn("9000x1j0j1f\x81L3S" #(#fn(table.foldl)
+ #fn("7000x3\x81\x82Fn2FS" #())) table.pairs)
+ table.values #fn("9000x1j0j1f\x81L3S" #(#fn(table.foldl)
+ #fn("7000x3\x82n2FS" #())) table.values)
+ to-proper #fn("8000x1\x81\x8940\x81S\x81;N60\x81W1S\x814l0\x815K1FS" #(to-proper) to-proper)
+ top-level-exception-handler #fn("7000x1j09l1L1S" #(#fn("7000x1l0r1Jj29j39L1S" #(*stderr*
+ *output-stream* #fn("7000x1j09j19z\x81K0JS" #(#fn("7000x0l0p20K1Jl1j2K0L1S" #(print-exception
+ print-stack-trace #fn(stacktrace))) #fn("7000x1\x83K0Jj0\x81L1S" #(#fn(raise)))))
+ #fn("6000x0\x83r0S" #(*output-stream*)))) *output-stream*) top-level-exception-handler)
+ trace #fn("8000x1j09j1\x81K1K1Jj2S" #(#fn("7000x1j09j1K0L1S" #(#fn("@000x1l0\x83K1Oe0j1p10l2j3\x81j4j5j6j7p10W2\x81W3W2j8W1j9j7\x83W2\x81W3W4W3K1L2SdS" #(traced?
#fn(set-top-level-value!) eval lambda begin write cons quote newline apply))
#fn(gensym))) #fn(top-level-value) ok) trace)
- traced? #fn("8000r1e0|3116>02c1|31c1~31>;" #(closure? #fn(function:code)) #(#fn(":000s0c0c1|K312e2302c3|v2;" #(#fn(write)
+ traced? #fn("8000x1l0\x81K1IN>0Jj1\x81K1j1\x83K1VS" #(closure? #fn(function:code)) #(#fn(":000y0j0j1\x81FK1Jl2K0Jj3\x81|2S" #(#fn(write)
x newline #.apply)) ()))
- untrace #fn("8000r1c0qc1|3141;" #(#fn("9000r1e0|316@0c1~c2|31b2[42;];" #(traced?
+ untrace #fn("8000x1j09j1\x81K1L1S" #(#fn("9000x1l0\x81K1N@0j1\x83j2\x81K1i2aL2SdS" #(traced?
#fn(set-top-level-value!) #fn(function:vals)))
- #fn(top-level-value)) untrace)
- values #fn("9000s0|F16602|NA650|M;~|K;" #() #2#) vector->list
- #fn("8000r1c0qc1|31_42;" #(#fn(":000r2a|c0qu2};" #(#fn("8000r1i10~|x[\x7fKo01;" #())))
- #fn(length)) vector->list)
- vector.map #fn("8000r2c0qc1}3141;" #(#fn("8000r1c0qc1|3141;" #(#fn(":000r1`~axc0qu2|;" #(#fn(":000r1~|i20i21|[31\\;" #())))
+ #fn(top-level-value)) untrace)
+ values #fn("9000y0\x81:IN60J\x815<N50\x814S\x83\x81FS" #() #2#)
+ vector->list #fn("8000x1j09j1\x81K1fL2S" #(#fn(":000x2h\x81j09{J\x82S" #(#fn("8000x1p10\x83\x81~a\x84Fv01S" #())))
+ #fn(length)) vector->list)
+ vector.map #fn("8000x2j09j1\x82K1L1S" #(#fn("8000x1j09j1\x81K1L1S" #(#fn(":000x1g\x83h~j09{J\x81S" #(#fn(":000x1\x83\x81p20p21\x81aK1cS" #())))
#fn(vector.alloc))) #fn(length)) vector.map)
- void #fn("6000r0];" #() void) zero?
- #fn("7000r1|`W;" #() zero?))
+ void #fn("6000x0dS" #() void) zero?
+ #fn("7000x1\x81g^S" #() zero?))
--- a/flisp.c
+++ b/flisp.c
@@ -33,37 +33,59 @@
#include "flisp.h"
#include "opcodes.h"
-static char *builtin_names[] =
- { NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
- NULL, NULL, NULL, NULL,
- // predicates
- "eq?", "eqv?", "equal?", "atom?", "not", "null?", "boolean?", "symbol?",
- "number?", "bound?", "pair?", "builtin?", "vector?", "fixnum?",
- "function?",
+typedef struct Builtin Builtin;
- // lists
- "cons", "list", "car", "cdr", "set-car!", "set-cdr!",
+struct Builtin {
+ char *name;
+ int nargs;
+};
- // execution
- "apply",
-
- // arithmetic
- "+", "-", "*", "/", "div0", "=", "<", "compare",
-
- // sequences
- "vector", "aref", "aset!",
- "", "", "" };
-
#define ANYARGS -10000
-static short builtin_arg_counts[] =
- { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 2, 2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
- 2, ANYARGS, 1, 1, 2, 2,
- -2,
- ANYARGS, -1, ANYARGS, -1, 2, 2, 2, 2,
- ANYARGS, 2, 3 };
+static const Builtin builtins[] = {
+ // predicates
+ [OP_EQ] = {"eq?", 2},
+ [OP_EQV] = {"eqv?", 2},
+ [OP_EQUAL] = {"equal?", 2},
+ [OP_ATOMP] = {"atom?", 1},
+ [OP_NOT] = {"not", 1},
+ [OP_NULLP] = {"null?", 1},
+ [OP_BOOLEANP] = {"boolean?", 1},
+ [OP_SYMBOLP] = {"symbol?", 1},
+ [OP_NUMBERP] = {"number?", 1},
+ [OP_BOUNDP] = {"bound?", 1},
+ [OP_PAIRP] = {"pair?", 1},
+ [OP_BUILTINP] = {"builtin?", 1},
+ [OP_VECTORP] = {"vector?", 1},
+ [OP_FIXNUMP] = {"fixnum?", 1},
+ [OP_FUNCTIONP] = {"function?", 1},
+ [OP_CONS] = {"cons", 2},
+ [OP_LIST] = {"list", ANYARGS},
+ [OP_CDR] = {"cdr", 1},
+ [OP_CAR] = {"car", 1},
+ [OP_CADR] = {"cadr", 1},
+ [OP_SETCAR] = {"set-car!", 2},
+ [OP_SETCDR] = {"set-cdr!", 2},
+ [OP_APPLY] = {"apply", -2},
+ [OP_ADD] = {"+", ANYARGS},
+ [OP_SUB] = {"-", -1},
+ [OP_MUL] = {"*", ANYARGS},
+ [OP_DIV] = {"/", -1},
+ [OP_IDIV] = {"div0", 2},
+ [OP_NUMEQ] = {"=", 2},
+ [OP_LT] = {"<", 2},
+ [OP_COMPARE] = {"compare", 2},
+ [OP_AREF] = {"aref", 2},
+ [OP_VECTOR] = {"vector", ANYARGS},
+ [OP_ASET] = {"aset!", 3},
+};
+int isbuiltin(value_t x)
+{
+ int i = uintval(x);
+ return tag(x) == TAG_FUNCTION && i < nelem(builtins) && builtins[i].name != NULL;
+}
+
static uint32_t N_STACK;
static value_t *Stack;
static uint32_t SP = 0;
@@ -1031,12 +1053,12 @@
}
else {
i = uintval(func);
- if (i <= OP_ASET) {
- s = builtin_arg_counts[i];
+ if (isbuiltin(func)) {
+ s = builtins[i].nargs;
if (s >= 0)
- argcount(builtin_names[i], n, s);
+ argcount(builtins[i].name, n, s);
else if (s != ANYARGS && (signed)n < -s)
- argcount(builtin_names[i], n, -s);
+ argcount(builtins[i].name, n, -s);
// remove function arg
for(s=SP-n-1; s < (int)SP-1; s++)
Stack[s] = Stack[s+1];
@@ -1082,12 +1104,12 @@
}
else {
i = uintval(func);
- if (i <= OP_ASET) {
- s = builtin_arg_counts[i];
+ if (isbuiltin(func)) {
+ s = builtins[i].nargs;
if (s >= 0)
- argcount(builtin_names[i], n, s);
+ argcount(builtins[i].name, n, s);
else if (s != ANYARGS && (signed)n < -s)
- argcount(builtin_names[i], n, -s);
+ argcount(builtins[i].name, n, -s);
// remove function arg
for(s=SP-n-1; s < (int)SP-1; s++)
Stack[s] = Stack[s+1];
@@ -1233,7 +1255,7 @@
OP(OP_FUNCTIONP)
v = Stack[SP-1];
Stack[SP-1] = ((tag(v)==TAG_FUNCTION &&
- (uintval(v)<=OP_ASET || v>(N_BUILTINS<<3))) ||
+ (isbuiltin(v) || v>(N_BUILTINS<<3))) ||
iscbuiltin(v)) ? FL_T : FL_F;
NEXT_OP;
OP(OP_VECTORP)
@@ -2102,8 +2124,9 @@
set(printlevelsym=symbol("*print-level*"), FL_F);
builtins_table_sym = symbol("*builtins*");
fl_lasterror = NIL;
- for (i=OP_EQ; i <= OP_ASET; i++) {
- setc(symbol(builtin_names[i]), builtin(i));
+ for (i=0; i < nelem(builtins); i++) {
+ if (builtins[i].name)
+ setc(symbol(builtins[i].name), builtin(i));
}
setc(symbol("eq"), builtin(OP_EQ));
setc(symbol("procedure?"), builtin(OP_FUNCTIONP));
--- a/flisp.h
+++ b/flisp.h
@@ -87,7 +87,7 @@
#define issymbol(x) (tag(x) == TAG_SYM)
#define isfixnum(x) (((x)&3) == TAG_NUM)
#define bothfixnums(x,y) ((((x)|(y))&3) == TAG_NUM)
-#define isbuiltin(x) ((tag(x) == TAG_FUNCTION) && uintval(x) <= OP_ASET)
+int isbuiltin(value_t x);
#define isvector(x) (tag(x) == TAG_VECTOR)
#define iscvalue(x) (tag(x) == TAG_CVALUE)
#define iscprim(x) (tag(x) == TAG_CPRIM)
@@ -222,8 +222,10 @@
extern value_t UnboundError;
static inline void argcount(char *fname, uint32_t nargs, uint32_t c)
{
- if (__unlikely(nargs != c))
- lerrorf(ArgError,"%s: too %s arguments", fname, nargs<c ? "few":"many");
+ if (__unlikely(nargs != c)){
+ assert(0);
+ lerrorf(ArgError,"%s: too %s arguments (want %d, got %d)", fname, nargs<c ? "few":"many", c, nargs);
+ }
}
typedef struct {
--- /dev/null
+++ b/gen.lsp
@@ -1,0 +1,139 @@
+(define opcodes '(
+ ; C opcode, lisp compiler opcode, arg count, builtin lambda
+ OP_BOOL_CONST_F dummy_f #f 0
+ OP_BOOL_CONST_T dummy_t #f 0
+ OP_THE_EMPTY_LIST dummy_nil #f 0
+ OP_EOF_OBJECT dummy_eof #f 0
+ OP_CAR car 1 (lambda (x) (car x))
+ OP_CDR cdr 1 (lambda (x) (cdr x))
+ OP_CADR cadr 1 (lambda (x) (cadr x))
+ OP_NOT not 1 (lambda (x) (not x))
+ OP_NEG neg #f 0
+ OP_CLOSURE closure #f 0
+ OP_PAIRP pair? 1 (lambda (x) (pair? x))
+ OP_ATOMP atom? 1 (lambda (x) (atom? x))
+ OP_NULLP null? 1 (lambda (x) (null? x))
+ OP_BOOLEANP boolean? 1 (lambda (x) (boolean? x))
+ OP_SYMBOLP symbol? 1 (lambda (x) (symbol? x))
+ OP_NUMBERP number? 1 (lambda (x) (number? x))
+ OP_FIXNUMP fixnum? 1 (lambda (x) (fixnum? x))
+ OP_BOUNDP bound? 1 (lambda (x) (bound? x))
+ OP_BUILTINP builtin? 1 (lambda (x) (builtin? x))
+ OP_FUNCTIONP function? 1 (lambda (x) (function? x))
+ OP_VECTORP vector? 1 (lambda (x) (vector? x))
+ OP_NOP nop #f 0
+ OP_CONS cons 2 (lambda (x y) (cons x y))
+ OP_SETCAR set-car! 2 (lambda (x y) (set-car! x y))
+ OP_SETCDR set-cdr! 2 (lambda (x y) (set-cdr! x y))
+ OP_DUP dup #f 0
+ OP_POP pop #f 0
+ OP_CALL call #f 0
+ OP_TCALL tcall #f 0
+ OP_JMP jmp #f 0
+ OP_BRF brf #f 0
+ OP_BRT brt #f 0
+ OP_JMPL jmp.l #f 0
+ OP_BRFL brf.l #f 0
+ OP_BRTL brt.l #f 0
+ OP_RET ret #f 0
+ OP_EQ eq? 2 (lambda (x y) (eq? x y))
+ OP_EQV eqv? 2 (lambda (x y) (eqv? x y))
+ OP_EQUAL equal? 2 (lambda (x y) (equal? x y))
+ OP_LIST list #f (lambda rest rest)
+ OP_APPLY apply #f (lambda rest (apply apply rest))
+ OP_ADD + #f (lambda rest (apply + rest))
+ OP_SUB - #f (lambda rest (apply - rest))
+ OP_MUL * #f (lambda rest (apply * rest))
+ OP_DIV / #f (lambda rest (apply / rest))
+ OP_IDIV div0 2 (lambda rest (apply div0 rest))
+ OP_NUMEQ = 2 (lambda (x y) (= x y))
+ OP_LT < 2 (lambda (x y) (< x y))
+ OP_COMPARE compare 2 (lambda (x y) (compare x y))
+ OP_AREF aref 2 (lambda (x y) (aref x y))
+ OP_VECTOR vector #f (lambda rest (apply vector rest))
+ OP_ASET aset! 3 (lambda (x y z) (aset! x y z))
+ OP_LOADT loadt #f 0
+ OP_LOADF loadf #f 0
+ OP_LOADNIL loadnil #f 0
+ OP_LOAD0 load0 #f 0
+ OP_LOAD1 load1 #f 0
+ OP_LOADI8 loadi8 #f 0
+ OP_LOADV loadv #f 0
+ OP_LOADVL loadv.l #f 0
+ OP_LOADG loadg #f 0
+ OP_LOADGL loadg.l #f 0
+ OP_LOADA loada #f 0
+ OP_LOADAL loada.l #f 0
+ OP_LOADC loadc #f 0
+ OP_LOADCL loadc.l #f 0
+ OP_SETG setg #f 0
+ OP_SETGL setg.l #f 0
+ OP_SETA seta #f 0
+ OP_SETAL seta.l #f 0
+ OP_SETC setc #f 0
+ OP_SETCL setc.l #f 0
+ OP_ARGC argc #f 0
+ OP_VARGC vargc #f 0
+ OP_TRYCATCH trycatch #f 0
+ OP_FOR for #f 0
+ OP_TAPPLY tapply #f 0
+ OP_ADD2 add2 #f 0
+ OP_SUB2 sub2 #f 0
+ OP_LARGC largc #f 0
+ OP_LVARGC lvargc #f 0
+ OP_LOADA0 loada0 #f 0
+ OP_LOADA1 loada1 #f 0
+ OP_LOADC00 loadc00 #f 0
+ OP_LOADC01 loadc01 #f 0
+ OP_CALLL call.l #f 0
+ OP_TCALLL tcall.l #f 0
+ OP_BRNE brne #f 0
+ OP_BRNEL brne.l #f 0
+ OP_BRNN brnn #f 0
+ OP_BRNNL brnn.l #f 0
+ OP_BRN brn #f 0
+ OP_BRNL brn.l #f 0
+ OP_OPTARGS optargs #f 0
+ OP_BRBOUND brbound #f 0
+ OP_KEYARGS keyargs #f 0))
+
+(define (drop lst n)
+ (if (<= n 0) lst
+ (drop (cdr lst) (1- n))))
+
+(define (for-each-n f lst n)
+ (if (<= n 0) ()
+ (if (pair? lst) (begin (apply f (list-head lst n))
+ (for-each-n f (drop lst n) n)))))
+
+(let ((c-header (file "opcodes.h" :write :create :truncate))
+ (instructions (file "instructions.lsp" :write :create :truncate))
+ (builtins (file "builtins.lsp" :write :create :truncate))
+ (e (table))
+ (ac (table))
+ (lms ())
+ (i 0))
+ (begin
+ (io.write c-header "enum {\n")
+ (for-each-n
+ (lambda (cop lop argc f)
+ (begin
+ (io.write c-header " ")
+ (write cop c-header)
+ (io.write c-header ",\n")
+
+ (put! e lop i)
+ (if argc (put! ac lop argc))
+ (set! lms (cons f lms))
+ (set! i (1+ i))))
+ opcodes 4)
+ (io.write c-header " N_OPCODES\n};\n")
+ (io.close c-header)
+
+ (write `(define Instructions ,e) instructions)
+ (io.write instructions "\n\n")
+ (write `(define arg-counts ,ac) instructions)
+ (io.close instructions)
+ (set! lms (cons vector (reverse! lms)))
+ (write `(define *builtins* ,lms) builtins)
+ (io.close builtins)))
--- a/mkboot0.lsp
+++ b/mkboot0.lsp
@@ -4,13 +4,24 @@
(if (not (bound? 'set-top-level-value!)) (set! set-top-level-value! set))
(if (not (bound? 'eof-object?)) (set! eof-object? (lambda (x) #f)))
-;(load "compiler.lsp")
+(define update-compiler
+ (let ((C ()))
+ (with-bindings
+ ((eval (lambda (x) (set! C (cons (compile-thunk (expand x)) C)))))
+ (begin
+ (load "instructions.lsp")
+ (load "compiler.lsp")))
+ (lambda () (begin
+ (for-each (lambda (x) (x)) (reverse! C))
+ (set! update-compiler (lambda () ()))))))
(define (compile-file inf)
+ (update-compiler)
(let ((in (file inf :read)))
(let next ((E (read in)))
(if (not (io.eof? in))
- (begin (print (compile-thunk (expand E)))
+ (begin
+ (print (compile-thunk (expand E)))
(princ "\n")
(next (read in)))))
(io.close in)))
--- a/opcodes.h
+++ b/opcodes.h
@@ -1,32 +1,99 @@
enum {
- OP_NOP=0, OP_DUP, OP_POP, OP_CALL, OP_TCALL, OP_JMP, OP_BRF, OP_BRT,
- OP_JMPL, OP_BRFL, OP_BRTL, OP_RET,
-
- OP_EQ, OP_EQV, OP_EQUAL, OP_ATOMP, OP_NOT, OP_NULLP, OP_BOOLEANP,
- OP_SYMBOLP, OP_NUMBERP, OP_BOUNDP, OP_PAIRP, OP_BUILTINP, OP_VECTORP,
- OP_FIXNUMP, OP_FUNCTIONP,
-
- OP_CONS, OP_LIST, OP_CAR, OP_CDR, OP_SETCAR, OP_SETCDR,
+ OP_BOOL_CONST_F,
+ OP_BOOL_CONST_T,
+ OP_THE_EMPTY_LIST,
+ OP_EOF_OBJECT,
+ OP_CAR,
+ OP_CDR,
+ OP_CADR,
+ OP_NOT,
+ OP_NEG,
+ OP_CLOSURE,
+ OP_PAIRP,
+ OP_ATOMP,
+ OP_NULLP,
+ OP_BOOLEANP,
+ OP_SYMBOLP,
+ OP_NUMBERP,
+ OP_FIXNUMP,
+ OP_BOUNDP,
+ OP_BUILTINP,
+ OP_FUNCTIONP,
+ OP_VECTORP,
+ OP_NOP,
+ OP_CONS,
+ OP_SETCAR,
+ OP_SETCDR,
+ OP_DUP,
+ OP_POP,
+ OP_CALL,
+ OP_TCALL,
+ OP_JMP,
+ OP_BRF,
+ OP_BRT,
+ OP_JMPL,
+ OP_BRFL,
+ OP_BRTL,
+ OP_RET,
+ OP_EQ,
+ OP_EQV,
+ OP_EQUAL,
+ OP_LIST,
OP_APPLY,
-
- OP_ADD, OP_SUB, OP_MUL, OP_DIV, OP_IDIV, OP_NUMEQ, OP_LT, OP_COMPARE,
-
- OP_VECTOR, OP_AREF, OP_ASET,
-
- OP_LOADT, OP_LOADF, OP_LOADNIL, OP_LOAD0, OP_LOAD1, OP_LOADI8,
- OP_LOADV, OP_LOADVL,
- OP_LOADG, OP_LOADGL,
- OP_LOADA, OP_LOADAL, OP_LOADC, OP_LOADCL,
- OP_SETG, OP_SETGL,
- OP_SETA, OP_SETAL, OP_SETC, OP_SETCL,
-
- OP_CLOSURE, OP_ARGC, OP_VARGC, OP_TRYCATCH, OP_FOR,
- OP_TAPPLY, OP_ADD2, OP_SUB2, OP_NEG, OP_LARGC, OP_LVARGC,
- OP_LOADA0, OP_LOADA1, OP_LOADC00, OP_LOADC01, OP_CALLL, OP_TCALLL,
- OP_BRNE, OP_BRNEL, OP_CADR, OP_BRNN, OP_BRNNL, OP_BRN, OP_BRNL,
- OP_OPTARGS, OP_BRBOUND, OP_KEYARGS,
-
- OP_BOOL_CONST_T, OP_BOOL_CONST_F, OP_THE_EMPTY_LIST, OP_EOF_OBJECT,
-
+ OP_ADD,
+ OP_SUB,
+ OP_MUL,
+ OP_DIV,
+ OP_IDIV,
+ OP_NUMEQ,
+ OP_LT,
+ OP_COMPARE,
+ OP_AREF,
+ OP_VECTOR,
+ OP_ASET,
+ OP_LOADT,
+ OP_LOADF,
+ OP_LOADNIL,
+ OP_LOAD0,
+ OP_LOAD1,
+ OP_LOADI8,
+ OP_LOADV,
+ OP_LOADVL,
+ OP_LOADG,
+ OP_LOADGL,
+ OP_LOADA,
+ OP_LOADAL,
+ OP_LOADC,
+ OP_LOADCL,
+ OP_SETG,
+ OP_SETGL,
+ OP_SETA,
+ OP_SETAL,
+ OP_SETC,
+ OP_SETCL,
+ OP_ARGC,
+ OP_VARGC,
+ OP_TRYCATCH,
+ OP_FOR,
+ OP_TAPPLY,
+ OP_ADD2,
+ OP_SUB2,
+ OP_LARGC,
+ OP_LVARGC,
+ OP_LOADA0,
+ OP_LOADA1,
+ OP_LOADC00,
+ OP_LOADC01,
+ OP_CALLL,
+ OP_TCALLL,
+ OP_BRNE,
+ OP_BRNEL,
+ OP_BRNN,
+ OP_BRNNL,
+ OP_BRN,
+ OP_BRNL,
+ OP_OPTARGS,
+ OP_BRBOUND,
+ OP_KEYARGS,
N_OPCODES
};
--- a/posix/platform.h
+++ b/posix/platform.h
@@ -31,6 +31,7 @@
#endif
#define USED(x) ((void)(x))
+#define nelem(x) (int)(sizeof(x)/sizeof((x)[0]))
#define PATHSEP '/'
#define PATHSEPSTRING "/"
--- a/print.c
+++ b/print.c
@@ -410,7 +410,7 @@
else if (isbuiltin(v)) {
if (!print_princ)
outsn("#.", f, 2);
- outs(builtin_names[uintval(v)], f);
+ outs(builtins[uintval(v)].name, f);
}
else {
assert(isclosure(v));
--- a/system.lsp
+++ b/system.lsp
@@ -5,27 +5,6 @@
(define (void) #t) ; the unspecified value
-(define *builtins*
- (vector
- 0 0 0 0 0 0 0 0 0 0 0 0
- (lambda (x y) (eq? x y)) (lambda (x y) (eqv? x y))
- (lambda (x y) (equal? x y)) (lambda (x) (atom? x))
- (lambda (x) (not x)) (lambda (x) (null? x))
- (lambda (x) (boolean? x)) (lambda (x) (symbol? x))
- (lambda (x) (number? x)) (lambda (x) (bound? x))
- (lambda (x) (pair? x)) (lambda (x) (builtin? x))
- (lambda (x) (vector? x)) (lambda (x) (fixnum? x))
- (lambda (x) (function? x)) (lambda (x y) (cons x y))
- (lambda rest rest) (lambda (x) (car x))
- (lambda (x) (cdr x)) (lambda (x y) (set-car! x y))
- (lambda (x y) (set-cdr! x y)) (lambda rest (apply apply rest))
- (lambda rest (apply + rest)) (lambda rest (apply - rest))
- (lambda rest (apply * rest)) (lambda rest (apply / rest))
- (lambda rest (apply div0 rest)) (lambda (x y) (= x y))
- (lambda (x y) (< x y)) (lambda (x y) (compare x y))
- (lambda rest (apply vector rest)) (lambda (x y) (aref x y))
- (lambda (x y z) (aset! x y z))))
-
(if (not (bound? '*syntax-environment*))
(define *syntax-environment* (table)))
@@ -172,7 +151,6 @@
(define (closure? x) (and (function? x) (not (builtin? x))))
(define (caar x) (car (car x)))
-(define (cadr x) (car (cdr x)))
(define (cdar x) (cdr (car x)))
(define (cddr x) (cdr (cdr x)))
(define (caaar x) (car (car (car x))))