home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 2: Applications / Linux Cubed Series 2 - Applications.iso / editors / emacs / xemacs / xemacs-1.006 / xemacs-1 / lib / xemacs-19.13 / lisp / games / conx.elc < prev    next >
Emacs Compiled Lisp  |  1995-08-29  |  14.4 KB

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text


This file was processed as: Emacs Compiled Lisp (other/emacsCompiledLisp).
This format is not currently supported by dexvert.

ConfidenceProgramDetectionMatch TypeSupport
1% dexvert Emacs Compiled Lisp (other/emacsCompiledLisp) magic Unsupported
1% dexvert Combustion 2 Particle Library (other/combustion2ParticleLibrary) ext Unsupported
100% file Emacs/XEmacs v19 byte-compiled Lisp data default
99% file data default
100% TrID Emacs/XEmacs byte-compiled Lisp (generic) default
100% xdgMime text/x-emacs-lisp default (weak)



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 3b 45 4c 43 13 00 00 00 | 0a 3b 3b 3b 20 63 6f 6d |;ELC....|.;;; com|
|00000010| 70 69 6c 65 64 20 62 79 | 20 63 74 68 6f 6d 70 40 |piled by| cthomp@|
|00000020| 77 69 6c 6c 6f 77 2e 63 | 73 2e 75 69 75 63 2e 65 |willow.c|s.uiuc.e|
|00000030| 64 75 20 6f 6e 20 54 75 | 65 20 41 75 67 20 32 39 |du on Tu|e Aug 29|
|00000040| 20 31 34 3a 30 30 3a 35 | 32 20 31 39 39 35 0a 3b | 14:00:5|2 1995.;|
|00000050| 3b 3b 20 66 72 6f 6d 20 | 66 69 6c 65 20 2f 78 65 |;; from |file /xe|
|00000060| 6d 61 63 73 2f 78 65 6d | 61 63 73 2d 31 39 2e 31 |macs/xem|acs-19.1|
|00000070| 33 2d 72 65 6c 65 61 73 | 65 2f 65 64 69 74 6f 72 |3-releas|e/editor|
|00000080| 2f 6c 69 73 70 2f 67 61 | 6d 65 73 2f 63 6f 6e 78 |/lisp/ga|mes/conx|
|00000090| 2e 65 6c 0a 3b 3b 3b 20 | 65 6d 61 63 73 20 76 65 |.el.;;; |emacs ve|
|000000a0| 72 73 69 6f 6e 20 31 39 | 2e 31 33 20 58 45 6d 61 |rsion 19|.13 XEma|
|000000b0| 63 73 20 4c 75 63 69 64 | 2e 0a 3b 3b 3b 20 62 79 |cs Lucid|..;;; by|
|000000c0| 74 65 63 6f 6d 70 20 76 | 65 72 73 69 6f 6e 20 32 |tecomp v|ersion 2|
|000000d0| 2e 32 35 3b 20 31 2d 53 | 65 70 2d 39 34 2e 0a 3b |.25; 1-S|ep-94..;|
|000000e0| 3b 3b 20 6f 70 74 69 6d | 69 7a 61 74 69 6f 6e 20 |;; optim|ization |
|000000f0| 69 73 20 6f 6e 2e 0a 3b | 3b 3b 20 74 68 69 73 20 |is on..;|;; this |
|00000100| 66 69 6c 65 20 75 73 65 | 73 20 6f 70 63 6f 64 65 |file use|s opcode|
|00000110| 73 20 77 68 69 63 68 20 | 64 6f 20 6e 6f 74 20 65 |s which |do not e|
|00000120| 78 69 73 74 20 69 6e 20 | 45 6d 61 63 73 20 31 38 |xist in |Emacs 18|
|00000130| 2e 0a 0a 28 69 66 20 28 | 61 6e 64 20 28 62 6f 75 |...(if (|and (bou|
|00000140| 6e 64 70 20 27 65 6d 61 | 63 73 2d 76 65 72 73 69 |ndp 'ema|cs-versi|
|00000150| 6f 6e 29 0a 09 20 28 6f | 72 20 28 61 6e 64 20 28 |on).. (o|r (and (|
|00000160| 62 6f 75 6e 64 70 20 27 | 65 70 6f 63 68 3a 3a 76 |boundp '|epoch::v|
|00000170| 65 72 73 69 6f 6e 29 20 | 65 70 6f 63 68 3a 3a 76 |ersion) |epoch::v|
|00000180| 65 72 73 69 6f 6e 29 0a | 09 20 20 20 20 20 28 73 |ersion).|. (s|
|00000190| 74 72 69 6e 67 2d 6c 65 | 73 73 70 20 65 6d 61 63 |tring-le|ssp emac|
|000001a0| 73 2d 76 65 72 73 69 6f | 6e 20 22 31 39 22 29 29 |s-versio|n "19"))|
|000001b0| 29 0a 20 20 20 20 28 65 | 72 72 6f 72 20 22 54 68 |). (e|rror "Th|
|000001c0| 69 73 20 66 69 6c 65 20 | 77 61 73 20 63 6f 6d 70 |is file |was comp|
|000001d0| 69 6c 65 64 20 66 6f 72 | 20 45 6d 61 63 73 20 31 |iled for| Emacs 1|
|000001e0| 39 2e 22 29 29 0a 0a 28 | 62 79 74 65 2d 63 6f 64 |9."))..(|byte-cod|
|000001f0| 65 20 22 c0 11 c2 c3 21 | ac 82 c4 13 c2 c5 21 ac |e "....!|......!.|
|00000200| 82 c6 15 c7 16 08 c7 16 | 09 ca 16 0b c7 16 0c c7 |........|........|
|00000210| 87 22 20 5b 22 31 2e 36 | 2c 20 20 36 2d 6d 61 79 |." ["1.6|, 6-may|
|00000220| 2d 39 34 2e 22 20 63 6f | 6e 78 2d 76 65 72 73 69 |-94." co|nx-versi|
|00000230| 6f 6e 20 62 6f 75 6e 64 | 70 20 63 6f 6e 78 2d 62 |on bound|p conx-b|
|00000240| 6f 75 6e 63 65 20 31 30 | 20 63 6f 6e 78 2d 68 61 |ounce 10| conx-ha|
|00000250| 73 68 74 61 62 6c 65 2d | 73 69 7a 65 20 39 39 32 |shtable-|size 992|
|00000260| 33 20 6e 69 6c 20 63 6f | 6e 78 2d 77 6f 72 64 73 |3 nil co|nx-words|
|00000270| 2d 68 61 73 68 74 61 62 | 6c 65 20 63 6f 6e 78 2d |-hashtab|le conx-|
|00000280| 77 6f 72 64 73 2d 76 65 | 63 74 6f 72 20 30 20 63 |words-ve|ctor 0 c|
|00000290| 6f 6e 78 2d 77 6f 72 64 | 73 2d 76 65 63 74 6f 72 |onx-word|s-vector|
|000002a0| 2d 66 70 20 63 6f 6e 78 | 2d 6c 61 73 74 2d 77 6f |-fp conx|-last-wo|
|000002b0| 72 64 5d 20 32 29 0a 28 | 64 65 66 76 61 72 20 63 |rd] 2).(|defvar c|
|000002c0| 6f 6e 78 2d 66 69 6c 65 | 73 20 6e 69 6c 20 22 5c |onx-file|s nil "\|
|000002d0| 0a 46 59 49 22 29 0a 28 | 66 73 65 74 20 27 63 6f |.FYI").(|fset 'co|
|000002e0| 6e 78 2d 69 6e 69 74 20 | 23 5b 6e 69 6c 20 22 08 |nx-init |#[nil ".|
|000002f0| ab 8d 08 47 09 59 ab 87 | c2 08 c3 5c 22 88 aa 85 |...G.Y..|...\"...|
|00000300| c4 09 c3 5c 22 10 0d ab | 87 c2 0d c6 5c 22 88 aa |...\"...|....\"..|
|00000310| 85 c4 c7 c6 5c 22 15 c3 | 16 08 c6 16 09 c6 89 16 |....\"..|........|
|00000320| 5c 6e 87 22 20 5b 63 6f | 6e 78 2d 77 6f 72 64 73 |\n." [co|nx-words|
|00000330| 2d 68 61 73 68 74 61 62 | 6c 65 20 63 6f 6e 78 2d |-hashtab|le conx-|
|00000340| 68 61 73 68 74 61 62 6c | 65 2d 73 69 7a 65 20 66 |hashtabl|e-size f|
|00000350| 69 6c 6c 61 72 72 61 79 | 20 30 20 6d 61 6b 65 2d |illarray| 0 make-|
|00000360| 76 65 63 74 6f 72 20 63 | 6f 6e 78 2d 77 6f 72 64 |vector c|onx-word|
|00000370| 73 2d 76 65 63 74 6f 72 | 20 6e 69 6c 20 31 30 30 |s-vector| nil 100|
|00000380| 30 20 63 6f 6e 78 2d 77 | 6f 72 64 73 2d 76 65 63 |0 conx-w|ords-vec|
|00000390| 74 6f 72 2d 66 70 20 63 | 6f 6e 78 2d 6c 61 73 74 |tor-fp c|onx-last|
|000003a0| 2d 77 6f 72 64 20 63 6f | 6e 78 2d 66 69 6c 65 73 |-word co|nx-files|
|000003b0| 5d 20 33 20 22 5c 0a 46 | 6f 72 67 65 74 20 74 68 |] 3 "\.F|orget th|
|000003c0| 65 20 63 75 72 72 65 6e | 74 20 77 6f 72 64 2d 66 |e curren|t word-f|
|000003d0| 72 65 71 75 65 6e 63 79 | 20 74 72 65 65 2e 22 20 |requency| tree." |
|000003e0| 6e 69 6c 5d 29 0a 28 62 | 79 74 65 2d 63 6f 64 65 |nil]).(b|yte-code|
|000003f0| 20 22 c0 c1 4d 88 c2 c3 | 4d 88 c4 c5 4d 88 c6 c7 | "..M...|M...M...|
|00000400| 4d 88 c8 c9 4d 88 ca cb | 4d 88 cc cd 4d 88 ce cf |M...M...|M...M...|
|00000410| 4d 88 d0 d1 4d 88 d2 d3 | 4d 88 d4 d5 4d 88 d6 16 |M...M...|M...M...|
|00000420| 17 d8 d9 4d 88 da db 4d | 88 dc dd 4d 87 22 20 5b |...M...M|...M." [|
|00000430| 63 6f 6e 78 2d 72 65 68 | 61 73 68 20 23 5b 6e 69 |conx-reh|ash #[ni|
|00000440| 6c 20 22 c0 c1 21 88 5c | 6e 47 1b c4 0b 89 5c 5c |l "..!.\|nG....\\|
|00000450| c5 5c 22 1e 06 c7 0b 57 | ab 8e 0e 06 0b 53 5c 6e |.\"....W|.....S\n|
|00000460| 0b 53 89 13 48 49 88 aa | 6d 0e 06 12 2a c0 c8 21 |.S..HI..|m...*..!|
|00000470| 87 22 20 5b 6d 65 73 73 | 61 67 65 20 22 52 65 68 |." [mess|age "Reh|
|00000480| 61 73 68 69 6e 67 2e 2e | 2e 22 20 63 6f 6e 78 2d |ashing..|." conx-|
|00000490| 77 6f 72 64 73 2d 76 65 | 63 74 6f 72 20 4c 20 6d |words-ve|ctor L m|
|000004a0| 61 6b 65 2d 76 65 63 74 | 6f 72 20 6e 69 6c 20 76 |ake-vect|or nil v|
|000004b0| 32 20 30 20 22 52 65 68 | 61 73 68 69 6e 67 2e 2e |2 0 "Reh|ashing..|
|000004c0| 2e 64 6f 6e 65 22 5d 20 | 35 5d 20 63 6f 6e 78 2d |.done"] |5] conx-|
|000004d0| 63 6f 75 6e 74 20 28 6d | 61 63 72 6f 20 2e 20 23 |count (m|acro . #|
|000004e0| 5b 28 77 6f 72 64 29 20 | 22 c0 09 c2 45 87 22 20 |[(word) |"...E." |
|000004f0| 5b 61 72 65 66 20 77 6f | 72 64 20 30 5d 20 33 5d |[aref wo|rd 0] 3]|
|00000500| 29 20 63 6f 6e 78 2d 63 | 61 70 20 28 6d 61 63 72 |) conx-c|ap (macr|
|00000510| 6f 20 2e 20 23 5b 28 77 | 6f 72 64 29 20 22 c0 09 |o . #[(w|ord) "..|
|00000520| c2 45 87 22 20 5b 61 72 | 65 66 20 77 6f 72 64 20 |.E." [ar|ef word |
|00000530| 31 5d 20 33 5d 29 20 63 | 6f 6e 78 2d 63 6f 6d 6d |1] 3]) c|onx-comm|
|00000540| 61 20 28 6d 61 63 72 6f | 20 2e 20 23 5b 28 77 6f |a (macro| . #[(wo|
|00000550| 72 64 29 20 22 c0 09 c2 | 45 87 22 20 5b 61 72 65 |rd) "...|E." [are|
|00000560| 66 20 77 6f 72 64 20 32 | 5d 20 33 5d 29 20 63 6f |f word 2|] 3]) co|
|00000570| 6e 78 2d 70 65 72 69 6f | 64 20 28 6d 61 63 72 6f |nx-perio|d (macro|
|00000580| 20 2e 20 23 5b 28 77 6f | 72 64 29 20 22 c0 09 c2 | . #[(wo|rd) "...|
|00000590| 45 87 22 20 5b 61 72 65 | 66 20 77 6f 72 64 20 33 |E." [are|f word 3|
|000005a0| 5d 20 33 5d 29 20 63 6f | 6e 78 2d 71 75 65 6d 20 |] 3]) co|nx-quem |
|000005b0| 28 6d 61 63 72 6f 20 2e | 20 23 5b 28 77 6f 72 64 |(macro .| #[(word|
|000005c0| 29 20 22 c0 09 c2 45 87 | 22 20 5b 61 72 65 66 20 |) "...E.|" [aref |
|000005d0| 77 6f 72 64 20 34 5d 20 | 33 5d 29 20 63 6f 6e 78 |word 4] |3]) conx|
|000005e0| 2d 62 61 6e 67 20 28 6d | 61 63 72 6f 20 2e 20 23 |-bang (m|acro . #|
|000005f0| 5b 28 77 6f 72 64 29 20 | 22 c0 09 c2 45 87 22 20 |[(word) |"...E." |
|00000600| 5b 61 72 65 66 20 77 6f | 72 64 20 35 5d 20 33 5d |[aref wo|rd 5] 3]|
|00000610| 29 20 63 6f 6e 78 2d 73 | 75 63 63 20 28 6d 61 63 |) conx-s|ucc (mac|
|00000620| 72 6f 20 2e 20 23 5b 28 | 77 6f 72 64 29 20 22 c0 |ro . #[(|word) ".|
|00000630| 09 c2 45 87 22 20 5b 61 | 72 65 66 20 77 6f 72 64 |..E." [a|ref word|
|00000640| 20 36 5d 20 33 5d 29 20 | 63 6f 6e 78 2d 70 72 65 | 6] 3]) |conx-pre|
|00000650| 64 20 28 6d 61 63 72 6f | 20 2e 20 23 5b 28 77 6f |d (macro| . #[(wo|
|00000660| 72 64 29 20 22 c0 09 c2 | 45 87 22 20 5b 61 72 65 |rd) "...|E." [are|
|00000670| 66 20 77 6f 72 64 20 37 | 5d 20 33 5d 29 20 63 6f |f word 7|] 3]) co|
|00000680| 6e 78 2d 73 75 63 63 2d | 63 20 28 6d 61 63 72 6f |nx-succ-|c (macro|
|00000690| 20 2e 20 23 5b 28 77 6f | 72 64 29 20 22 c0 09 c2 | . #[(wo|rd) "...|
|000006a0| 45 87 22 20 5b 61 72 65 | 66 20 77 6f 72 64 20 38 |E." [are|f word 8|
|000006b0| 5d 20 33 5d 29 20 63 6f | 6e 78 2d 70 72 65 64 2d |] 3]) co|nx-pred-|
|000006c0| 63 20 28 6d 61 63 72 6f | 20 2e 20 23 5b 28 77 6f |c (macro| . #[(wo|
|000006d0| 72 64 29 20 22 c0 09 c2 | 45 87 22 20 5b 61 72 65 |rd) "...|E." [are|
|000006e0| 66 20 77 6f 72 64 20 39 | 5d 20 33 5d 29 20 31 30 |f word 9|] 3]) 10|
|000006f0| 20 63 6f 6e 78 2d 6c 65 | 6e 67 74 68 20 63 6f 6e | conx-le|ngth con|
|00000700| 78 2d 6d 61 6b 65 2d 77 | 6f 72 64 20 28 6d 61 63 |x-make-w|ord (mac|
|00000710| 72 6f 20 2e 20 23 5b 6e | 69 6c 20 22 c0 87 22 20 |ro . #[n|il ".." |
|00000720| 5b 28 63 6f 70 79 2d 73 | 65 71 75 65 6e 63 65 20 |[(copy-s|equence |
|00000730| 27 5b 31 20 30 20 30 20 | 30 20 30 20 30 20 6e 69 |'[1 0 0 |0 0 0 ni|
|00000740| 6c 20 6e 69 6c 20 30 20 | 30 5d 29 5d 20 31 5d 29 |l nil 0 |0])] 1])|
|00000750| 20 63 6f 6e 78 2d 73 65 | 74 66 20 28 6d 61 63 72 | conx-se|tf (macr|
|00000760| 6f 20 2e 20 23 5b 28 66 | 6f 72 6d 20 76 61 6c 29 |o . #[(f|orm val)|
|00000770| 20 22 c0 09 c2 c3 21 ad | 81 0b 5c 22 89 11 39 ab | "....!.|..\"..9.|
|00000780| 85 c4 09 0d 45 87 09 40 | c6 3d ab 89 c7 c8 09 41 |....E..@|.=.....A|
|00000790| 0d 43 5c 22 42 87 09 40 | c9 3d ab 87 ca 09 41 40 |.C\"B..@|.=....A@|
|000007a0| 0d 45 87 09 40 cb 3d ab | 87 cc 09 41 40 0d 45 87 |.E..@.=.|...A@.E.|
|000007b0| cd ce 09 5c 22 87 22 20 | 5b 6d 61 63 72 6f 65 78 |...\"." |[macroex|
|000007c0| 70 61 6e 64 20 66 6f 72 | 6d 20 62 6f 75 6e 64 70 |pand for|m boundp|
|000007d0| 20 62 79 74 65 2d 63 6f | 6d 70 69 6c 65 2d 6d 61 | byte-co|mpile-ma|
|000007e0| 63 72 6f 2d 65 6e 76 69 | 72 6f 6e 6d 65 6e 74 20 |cro-envi|ronment |
|000007f0| 73 65 74 71 20 76 61 6c | 20 61 72 65 66 20 61 73 |setq val| aref as|
|00000800| 65 74 20 61 70 70 65 6e | 64 20 63 64 72 20 73 65 |et appen|d cdr se|
|00000810| 74 63 64 72 20 63 61 72 | 20 73 65 74 63 61 72 20 |tcdr car| setcar |
|00000820| 65 72 72 6f 72 20 22 63 | 61 6e 27 74 20 73 65 74 |error "c|an't set|
|00000830| 66 20 25 73 22 5d 20 35 | 5d 29 20 63 6f 6e 78 2d |f %s"] 5|]) conx-|
|00000840| 70 75 73 68 20 28 6d 61 | 63 72 6f 20 2e 20 23 5b |push (ma|cro . #[|
|00000850| 28 74 68 69 6e 67 20 6c | 69 73 74 29 20 22 c0 09 |(thing l|ist) "..|
|00000860| c2 0b 09 45 45 87 22 20 | 5b 63 6f 6e 78 2d 73 65 |...EE." |[conx-se|
|00000870| 74 66 20 6c 69 73 74 20 | 63 6f 6e 73 20 74 68 69 |tf list |cons thi|
|00000880| 6e 67 5d 20 35 5d 29 5d | 20 32 29 0a 28 64 65 66 |ng] 5])]| 2).(def|
|00000890| 63 6f 6e 73 74 20 63 6f | 6e 78 2d 6d 6f 73 74 2d |const co|nx-most-|
|000008a0| 70 6f 73 69 74 69 76 65 | 2d 66 69 78 6e 75 6d 20 |positive|-fixnum |
|000008b0| 28 62 79 74 65 2d 63 6f | 64 65 20 22 c0 c1 89 5c |(byte-co|de "...\|
|000008c0| 22 87 22 20 5b 6c 73 68 | 20 2d 31 5d 20 33 29 20 |"." [lsh| -1] 3) |
|000008d0| 22 5c 0a 54 68 65 20 6c | 61 72 67 65 73 74 20 70 |"\.The l|argest p|
|000008e0| 6f 73 69 74 69 76 65 20 | 69 6e 74 65 67 65 72 20 |ositive |integer |
|000008f0| 74 68 61 74 20 63 61 6e | 20 62 65 20 72 65 70 72 |that can| be repr|
|00000900| 65 73 65 6e 74 65 64 20 | 69 6e 20 74 68 69 73 20 |esented |in this |
|00000910| 65 6d 61 63 73 2e 22 29 | 0a 28 62 79 74 65 2d 63 |emacs.")|.(byte-c|
|00000920| 6f 64 65 20 22 c0 c1 4d | 88 c2 c3 4d 88 c4 c5 4d |ode "..M|...M...M|
|00000930| 88 c6 c7 4d 88 c8 c9 4d | 88 ca cb 4d 87 22 20 5b |...M...M|...M." [|
|00000940| 63 6f 6e 78 2d 72 61 6e | 64 20 28 6d 61 63 72 6f |conx-ran|d (macro|
|00000950| 20 2e 20 23 5b 28 6e 29 | 20 22 c0 c1 c2 c3 45 0c | . #[(n)| "....E.|
|00000960| 45 87 22 20 5b 25 20 6c | 6f 67 61 6e 64 20 63 6f |E." [% l|ogand co|
|00000970| 6e 78 2d 6d 6f 73 74 2d | 70 6f 73 69 74 69 76 65 |nx-most-|positive|
|00000980| 2d 66 69 78 6e 75 6d 20 | 28 72 61 6e 64 6f 6d 29 |-fixnum |(random)|
|00000990| 20 6e 5d 20 34 5d 29 20 | 63 6f 6e 78 2d 72 65 6c | n] 4]) |conx-rel|
|000009a0| 61 74 65 2d 73 75 63 63 | 20 28 6d 61 63 72 6f 20 |ate-succ| (macro |
|000009b0| 2e 20 23 5b 28 77 6f 72 | 64 20 72 65 6c 61 74 65 |. #[(wor|d relate|
|000009c0| 64 29 20 22 c0 c1 c2 0b | 44 44 43 c4 c0 c5 c6 0e |d) "....|DDC.....|
|000009d0| 07 c8 42 42 44 43 c9 c5 | ca cb cc 0e 07 cd 42 42 |..BBDC..|......BB|
|000009e0| ce 42 42 46 45 46 87 22 | 20 5b 6c 65 74 20 76 65 |.BBFEF."| [let ve|
|000009f0| 63 20 73 79 6d 62 6f 6c | 2d 76 61 6c 75 65 20 77 |c symbol|-value w|
|00000a00| 6f 72 64 20 28 63 6f 6e | 78 2d 73 65 74 66 20 28 |ord (con|x-setf (|
|00000a10| 63 6f 6e 78 2d 73 75 63 | 63 2d 63 20 76 65 63 29 |conx-suc|c-c vec)|
|00000a20| 20 28 31 2b 20 28 63 6f | 6e 78 2d 73 75 63 63 2d | (1+ (co|nx-succ-|
|00000a30| 63 20 76 65 63 29 29 29 | 20 72 65 6c 20 61 73 73 |c vec)))| rel ass|
|00000a40| 71 20 72 65 6c 61 74 65 | 64 20 28 28 63 6f 6e 78 |q relate|d ((conx|
|00000a50| 2d 73 75 63 63 20 76 65 | 63 29 29 20 69 66 20 28 |-succ ve|c)) if (|
|00000a60| 73 65 74 63 64 72 20 72 | 65 6c 20 28 31 2b 20 28 |setcdr r|el (1+ (|
|00000a70| 63 64 72 20 72 65 6c 29 | 29 29 20 63 6f 6e 78 2d |cdr rel)|)) conx-|
|00000a80| 70 75 73 68 20 63 6f 6e | 73 20 28 31 29 20 28 28 |push con|s (1) ((|
|00000a90| 63 6f 6e 78 2d 73 75 63 | 63 20 76 65 63 29 29 5d |conx-suc|c vec))]|
|00000aa0| 20 31 32 5d 29 20 63 6f | 6e 78 2d 72 65 6c 61 74 | 12]) co|nx-relat|
|00000ab0| 65 2d 70 72 65 64 20 28 | 6d 61 63 72 6f 20 2e 20 |e-pred (|macro . |
|00000ac0| 23 5b 28 77 6f 72 64 20 | 72 65 6c 61 74 65 64 29 |#[(word |related)|
|00000ad0| 20 22 c0 c1 c2 0b 44 44 | 43 c4 c0 c5 c6 0e 07 c8 | "....DD|C.......|
|00000ae0| 42 42 44 43 c9 c5 ca cb | cc 0e 07 cd 42 42 ce 42 |BBDC....|....BB.B|
|00000af0| 42 46 45 46 87 22 20 5b | 6c 65 74 20 76 65 63 20 |BFEF." [|let vec |
|00000b00| 73 79 6d 62 6f 6c 2d 76 | 61 6c 75 65 20 77 6f 72 |symbol-v|alue wor|
|00000b10| 64 20 28 63 6f 6e 78 2d | 73 65 74 66 20 28 63 6f |d (conx-|setf (co|
|00000b20| 6e 78 2d 70 72 65 64 2d | 63 20 76 65 63 29 20 28 |nx-pred-|c vec) (|
|00000b30| 31 2b 20 28 63 6f 6e 78 | 2d 70 72 65 64 2d 63 20 |1+ (conx|-pred-c |
|00000b40| 76 65 63 29 29 29 20 72 | 65 6c 20 61 73 73 71 20 |vec))) r|el assq |
|00000b50| 72 65 6c 61 74 65 64 20 | 28 28 63 6f 6e 78 2d 70 |related |((conx-p|
|00000b60| 72 65 64 20 76 65 63 29 | 29 20 69 66 20 28 73 65 |red vec)|) if (se|
|00000b70| 74 63 64 72 20 72 65 6c | 20 28 31 2b 20 28 63 64 |tcdr rel| (1+ (cd|
|00000b80| 72 20 72 65 6c 29 29 29 | 20 63 6f 6e 78 2d 70 75 |r rel)))| conx-pu|
|00000b90| 73 68 20 63 6f 6e 73 20 | 28 31 29 20 28 28 63 6f |sh cons |(1) ((co|
|00000ba0| 6e 78 2d 70 72 65 64 20 | 76 65 63 29 29 5d 20 31 |nx-pred |vec))] 1|
|00000bb0| 32 5d 29 20 63 6f 6e 78 | 2d 61 64 64 2d 77 6f 72 |2]) conx|-add-wor|
|00000bc0| 64 20 28 6d 61 63 72 6f | 20 2e 20 23 5b 28 77 6f |d (macro| . #[(wo|
|00000bd0| 72 64 29 20 22 c0 c1 09 | 44 c2 42 c3 42 42 87 22 |rd) "...|D.B.BB."|
|00000be0| 20 5b 6c 65 74 2a 20 77 | 6f 72 64 20 28 28 66 63 | [let* w|ord ((fc|
|00000bf0| 20 28 61 72 65 66 20 77 | 6f 72 64 20 30 29 29 29 | (aref w|ord 0)))|
|00000c00| 20 28 28 73 65 74 71 20 | 77 6f 72 64 20 28 69 6e | ((setq |word (in|
|00000c10| 74 65 72 6e 20 28 64 6f | 77 6e 63 61 73 65 20 77 |tern (do|wncase w|
|00000c20| 6f 72 64 29 20 63 6f 6e | 78 2d 77 6f 72 64 73 2d |ord) con|x-words-|
|00000c30| 68 61 73 68 74 61 62 6c | 65 29 29 20 28 6c 65 74 |hashtabl|e)) (let|
|00000c40| 20 28 28 76 65 63 20 28 | 61 6e 64 20 28 62 6f 75 | ((vec (|and (bou|
|00000c50| 6e 64 70 20 77 6f 72 64 | 29 20 28 73 79 6d 62 6f |ndp word|) (symbo|
|00000c60| 6c 2d 76 61 6c 75 65 20 | 77 6f 72 64 29 29 29 29 |l-value |word))))|
|00000c70| 20 28 69 66 20 76 65 63 | 20 28 63 6f 6e 78 2d 73 | (if vec| (conx-s|
|00000c80| 65 74 66 20 28 63 6f 6e | 78 2d 63 6f 75 6e 74 20 |etf (con|x-count |
|00000c90| 76 65 63 29 20 28 31 2b | 20 28 63 6f 6e 78 2d 63 |vec) (1+| (conx-c|
|00000ca0| 6f 75 6e 74 20 76 65 63 | 29 29 29 20 28 69 66 20 |ount vec|))) (if |
|00000cb0| 28 3d 20 63 6f 6e 78 2d | 77 6f 72 64 73 2d 76 65 |(= conx-|words-ve|
|00000cc0| 63 74 6f 72 2d 66 70 20 | 28 6c 65 6e 67 74 68 20 |ctor-fp |(length |
|00000cd0| 63 6f 6e 78 2d 77 6f 72 | 64 73 2d 76 65 63 74 6f |conx-wor|ds-vecto|
|00000ce0| 72 29 29 20 28 63 6f 6e | 78 2d 72 65 68 61 73 68 |r)) (con|x-rehash|
|00000cf0| 29 29 20 28 73 65 74 20 | 77 6f 72 64 20 28 73 65 |)) (set |word (se|
|00000d00| 74 71 20 76 65 63 20 28 | 63 6f 6e 78 2d 6d 61 6b |tq vec (|conx-mak|
|00000d10| 65 2d 77 6f 72 64 29 29 | 29 20 28 61 73 65 74 20 |e-word))|) (aset |
|00000d20| 63 6f 6e 78 2d 77 6f 72 | 64 73 2d 76 65 63 74 6f |conx-wor|ds-vecto|
|00000d30| 72 20 63 6f 6e 78 2d 77 | 6f 72 64 73 2d 76 65 63 |r conx-w|ords-vec|
|00000d40| 74 6f 72 2d 66 70 20 77 | 6f 72 64 29 20 28 73 65 |tor-fp w|ord) (se|
|00000d50| 74 71 20 63 6f 6e 78 2d | 77 6f 72 64 73 2d 76 65 |tq conx-|words-ve|
|00000d60| 63 74 6f 72 2d 66 70 20 | 28 31 2b 20 63 6f 6e 78 |ctor-fp |(1+ conx|
|00000d70| 2d 77 6f 72 64 73 2d 76 | 65 63 74 6f 72 2d 66 70 |-words-v|ector-fp|
|00000d80| 29 29 29 20 28 6f 72 20 | 28 3c 20 66 63 20 36 35 |))) (or |(< fc 65|
|00000d90| 29 20 28 3e 20 66 63 20 | 39 30 29 20 28 63 6f 6e |) (> fc |90) (con|
|00000da0| 78 2d 73 65 74 66 20 28 | 63 6f 6e 78 2d 63 61 70 |x-setf (|conx-cap|
|00000db0| 20 76 65 63 29 20 28 31 | 2b 20 28 63 6f 6e 78 2d | vec) (1|+ (conx-|
|00000dc0| 63 61 70 20 76 65 63 29 | 29 29 29 29 20 28 69 66 |cap vec)|)))) (if|
|00000dd0| 20 63 6f 6e 78 2d 6c 61 | 73 74 2d 77 6f 72 64 20 | conx-la|st-word |
|00000de0| 28 70 72 6f 67 6e 20 28 | 63 6f 6e 78 2d 72 65 6c |(progn (|conx-rel|
|00000df0| 61 74 65 2d 73 75 63 63 | 20 63 6f 6e 78 2d 6c 61 |ate-succ| conx-la|
|00000e00| 73 74 2d 77 6f 72 64 20 | 77 6f 72 64 29 20 28 63 |st-word |word) (c|
|00000e10| 6f 6e 78 2d 72 65 6c 61 | 74 65 2d 70 72 65 64 20 |onx-rela|te-pred |
|00000e20| 77 6f 72 64 20 63 6f 6e | 78 2d 6c 61 73 74 2d 77 |word con|x-last-w|
|00000e30| 6f 72 64 29 29 29 20 28 | 73 65 74 71 20 63 6f 6e |ord))) (|setq con|
|00000e40| 78 2d 6c 61 73 74 2d 77 | 6f 72 64 20 77 6f 72 64 |x-last-w|ord word|
|00000e50| 29 29 5d 20 33 5d 29 20 | 63 6f 6e 78 2d 70 75 6e |))] 3]) |conx-pun|
|00000e60| 78 20 28 6d 61 63 72 6f | 20 2e 20 23 5b 28 63 68 |x (macro| . #[(ch|
|00000e70| 61 72 29 20 22 c0 c1 c2 | c3 0b 44 c4 42 c5 42 42 |ar) "...|..D.B.BB|
|00000e80| 45 87 22 20 5b 69 66 20 | 63 6f 6e 78 2d 6c 61 73 |E." [if |conx-las|
|00000e90| 74 2d 77 6f 72 64 20 6c | 65 74 20 63 68 61 72 20 |t-word l|et char |
|00000ea0| 28 28 76 65 63 20 28 73 | 79 6d 62 6f 6c 2d 76 61 |((vec (s|ymbol-va|
|00000eb0| 6c 75 65 20 63 6f 6e 78 | 2d 6c 61 73 74 2d 77 6f |lue conx|-last-wo|
|00000ec0| 72 64 29 29 29 20 28 28 | 63 6f 6e 64 20 28 28 65 |rd))) ((|cond ((e|
|00000ed0| 71 20 63 68 61 72 20 34 | 34 29 20 28 63 6f 6e 78 |q char 4|4) (conx|
|00000ee0| 2d 73 65 74 66 20 28 63 | 6f 6e 78 2d 63 6f 6d 6d |-setf (c|onx-comm|
|00000ef0| 61 20 76 65 63 29 20 28 | 31 2b 20 28 63 6f 6e 78 |a vec) (|1+ (conx|
|00000f00| 2d 63 6f 6d 6d 61 20 76 | 65 63 29 29 29 29 20 28 |-comma v|ec)))) (|
|00000f10| 28 6f 72 20 28 65 71 20 | 63 68 61 72 20 34 36 29 |(or (eq |char 46)|
|00000f20| 20 28 65 71 20 63 68 61 | 72 20 35 39 29 29 20 28 | (eq cha|r 59)) (|
|00000f30| 63 6f 6e 78 2d 73 65 74 | 66 20 28 63 6f 6e 78 2d |conx-set|f (conx-|
|00000f40| 70 65 72 69 6f 64 20 76 | 65 63 29 20 28 31 2b 20 |period v|ec) (1+ |
|00000f50| 28 63 6f 6e 78 2d 70 65 | 72 69 6f 64 20 76 65 63 |(conx-pe|riod vec|
|00000f60| 29 29 29 20 28 73 65 74 | 71 20 63 6f 6e 78 2d 6c |))) (set|q conx-l|
|00000f70| 61 73 74 2d 77 6f 72 64 | 20 6e 69 6c 29 29 20 28 |ast-word| nil)) (|
|00000f80| 28 65 71 20 63 68 61 72 | 20 36 33 29 20 28 63 6f |(eq char| 63) (co|
|00000f90| 6e 78 2d 73 65 74 66 20 | 28 63 6f 6e 78 2d 71 75 |nx-setf |(conx-qu|
|00000fa0| 65 6d 20 76 65 63 29 20 | 28 31 2b 20 28 63 6f 6e |em vec) |(1+ (con|
|00000fb0| 78 2d 71 75 65 6d 20 76 | 65 63 29 29 29 20 28 73 |x-quem v|ec))) (s|
|00000fc0| 65 74 71 20 63 6f 6e 78 | 2d 6c 61 73 74 2d 77 6f |etq conx|-last-wo|
|00000fd0| 72 64 20 6e 69 6c 29 29 | 20 28 28 65 71 20 63 68 |rd nil))| ((eq ch|
|00000fe0| 61 72 20 33 33 29 20 28 | 63 6f 6e 78 2d 73 65 74 |ar 33) (|conx-set|
|00000ff0| 66 20 28 63 6f 6e 78 2d | 62 61 6e 67 20 76 65 63 |f (conx-|bang vec|
|00001000| 29 20 28 31 2b 20 28 63 | 6f 6e 78 2d 62 61 6e 67 |) (1+ (c|onx-bang|
|00001010| 20 76 65 63 29 29 29 20 | 28 73 65 74 71 20 63 6f | vec))) |(setq co|
|00001020| 6e 78 2d 6c 61 73 74 2d | 77 6f 72 64 20 6e 69 6c |nx-last-|word nil|
|00001030| 29 29 29 29 5d 20 35 5d | 29 20 63 6f 6e 78 69 66 |))))] 5]|) conxif|
|00001040| 79 2d 69 6e 74 65 72 6e | 61 6c 20 23 5b 6e 69 6c |y-intern|al #[nil|
|00001050| 20 22 c0 89 19 1a 6d 3f | 85 7f 01 c3 c0 77 88 67 | "....m?|.....w.g|
|00001060| c4 3e ab 8a c5 c0 77 88 | c3 c0 77 88 aa 71 60 12 |.>....w.|..w..q`.|
|00001070| c5 c0 77 88 68 c6 55 ab | 83 c7 75 88 5c 6e 60 3d |..w.h.U.|..u.\n`=|
|00001080| ac 55 5c 6e 60 7b 89 11 | c8 9a ac 4c 09 89 1e 09 |.U\n`{..|...L....|
|00001090| ca 48 1e 0b cc 0e 09 97 | 0e 0d 5c 22 16 09 ce 0e |.H......|..\"....|
|000010a0| 09 21 ad 83 0e 09 4a 89 | 1e 0f ab 8c 0e 0f ca 0e |.!....J.|........|
|000010b0| 0f ca 48 54 49 88 aa a2 | 0e 10 0e 11 47 55 ab 83 |..HTI...|....GU..|
|000010c0| d2 20 88 0e 09 d3 d4 21 | 89 16 0f 4c 88 0e 11 0e |. .....!|...L....|
|000010d0| 10 0e 09 49 88 0e 10 54 | 16 10 0e 0b d5 57 ac 90 |...I...T|.....W..|
|000010e0| 0e 0b d6 56 ac 8a 0e 0f | d7 0e 0f d7 48 54 49 88 |...V....|....HTI.|
|000010f0| 29 0e 18 ab e4 0e 18 4a | 89 1e 0f d9 0e 0f d9 48 |)......J|.......H|
|00001100| 54 49 88 0e 09 0e 0f da | 48 9e 89 1e 1b ab 89 0e |TI......|H.......|
|00001110| 1b 89 41 54 a1 88 aa 8e | 0e 0f da 0e 09 d7 42 0e |..AT....|......B.|
|00001120| 0f da 48 42 49 88 2a 0e | 09 4a 89 1e 0f dc 0e 0f |..HBI.*.|.J......|
|00001130| dc 48 54 49 88 0e 18 0e | 0f dd 48 9e 89 1e 1b ab |.HTI....|..H.....|
|00001140| 89 0e 1b 89 41 54 a1 88 | aa 8e 0e 0f dd 0e 18 d7 |....AT..|........|
|00001150| 42 0e 0f dd 48 42 49 88 | 2a 0e 09 16 18 2a 0e 1e |B...HBI.|*....*..|
|00001160| 54 16 1e df c0 77 88 67 | 89 12 e0 3e 83 04 00 0e |T....w.g|...>....|
|00001170| 18 83 04 00 5c 6e 0e 18 | 4a 1e 0f 89 1e 21 e2 3d |....\n..|J....!.=|
|00001180| ab 8c 0e 0f e3 0e 0f e3 | 48 54 49 88 aa c3 0e 21 |........|HTI....!|
|00001190| e4 3d ac 86 0e 21 e5 3d | ab 8f 0e 0f e6 0e 0f e6 |.=...!.=|........|
|000011a0| 48 54 49 88 c0 16 18 aa | a8 0e 21 e7 3d ab 8f 0e |HTI.....|..!.=...|
|000011b0| 0f e8 0e 0f e8 48 54 49 | 88 c0 16 18 aa 93 0e 21 |.....HTI|.......!|
|000011c0| e9 3d ab 8d 0e 0f ea 0e | 0f ea 48 54 49 88 c0 16 |.=......|..HTI...|
|000011d0| 18 2a 82 04 00 2a 87 22 | 20 5b 6e 69 6c 20 77 20 |.*...*."| [nil w |
|000011e0| 70 20 22 5e 41 2d 5a 61 | 2d 7a 30 2d 39 27 22 20 |p "^A-Za|-z0-9'" |
|000011f0| 28 34 38 20 34 39 20 35 | 30 20 35 31 20 35 32 20 |(48 49 5|0 51 52 |
|00001200| 35 33 20 35 34 20 35 35 | 20 35 36 20 35 37 20 33 |53 54 55| 56 57 3|
|00001210| 39 29 20 22 41 2d 5a 61 | 2d 7a 30 2d 39 27 22 20 |9) "A-Za|-z0-9'" |
|00001220| 33 39 20 2d 31 20 22 6e | 69 6c 22 20 77 6f 72 64 |39 -1 "n|il" word|
|00001230| 20 30 20 66 63 20 69 6e | 74 65 72 6e 20 63 6f 6e | 0 fc in|tern con|
|00001240| 78 2d 77 6f 72 64 73 2d | 68 61 73 68 74 61 62 6c |x-words-|hashtabl|
|00001250| 65 20 62 6f 75 6e 64 70 | 20 76 65 63 20 63 6f 6e |e boundp| vec con|
|00001260| 78 2d 77 6f 72 64 73 2d | 76 65 63 74 6f 72 2d 66 |x-words-|vector-f|
|00001270| 70 20 63 6f 6e 78 2d 77 | 6f 72 64 73 2d 76 65 63 |p conx-w|ords-vec|
|00001280| 74 6f 72 20 63 6f 6e 78 | 2d 72 65 68 61 73 68 20 |tor conx|-rehash |
|00001290| 63 6f 70 79 2d 73 65 71 | 75 65 6e 63 65 20 5b 31 |copy-seq|uence [1|
|000012a0| 20 30 20 30 20 30 20 30 | 20 30 20 6e 69 6c 20 6e | 0 0 0 0| 0 nil n|
|000012b0| 69 6c 20 30 20 30 5d 20 | 36 35 20 39 30 20 31 20 |il 0 0] |65 90 1 |
|000012c0| 63 6f 6e 78 2d 6c 61 73 | 74 2d 77 6f 72 64 20 38 |conx-las|t-word 8|
|000012d0| 20 36 20 72 65 6c 20 39 | 20 37 20 6e 20 22 20 09 | 6 rel 9| 7 n " .|
|000012e0| 5c 6e 0d 22 20 28 34 34 | 20 34 36 20 33 33 20 36 |\n." (44| 46 33 6|
|000012f0| 33 20 35 39 29 20 63 68 | 61 72 20 34 34 20 32 20 |3 59) ch|ar 44 2 |
|00001300| 34 36 20 35 39 20 33 20 | 36 33 20 34 20 33 33 20 |46 59 3 |63 4 33 |
|00001310| 35 5d 20 36 5d 5d 20 32 | 29 0a 28 66 73 65 74 20 |5] 6]] 2|).(fset |
|00001320| 27 63 6f 6e 78 2d 62 75 | 66 66 65 72 20 23 5b 6e |'conx-bu|ffer #[n|
|00001330| 69 6c 20 22 08 ac 83 c1 | 20 88 5c 6e c3 64 1c 1d |il "....| .\n.d..|
|00001340| 1e 06 8a 65 62 88 8c 7e | 88 60 89 16 07 0c 57 ab |...eb..~|.`....W.|
|00001350| a3 c8 c9 0c c3 23 88 0e | 07 60 7d 88 0e 07 60 16 |.....#..|.`}...`.|
|00001360| 07 62 88 ca 20 88 7e 88 | cb cc 0e 07 cd 5f 64 a5 |.b.. .~.|....._d.|
|00001370| 5c 22 88 aa 55 2a 0e 0e | ab 88 0e 0f 0e 0e 43 a4 |\"..U*..|......C.|
|00001380| 16 0f cb d0 0d 5c 6e 0e | 06 5a 23 2b 87 22 20 5b |.....\n.|.Z#+." [|
|00001390| 63 6f 6e 78 2d 77 6f 72 | 64 73 2d 76 65 63 74 6f |conx-wor|ds-vecto|
|000013a0| 72 20 63 6f 6e 78 2d 69 | 6e 69 74 20 63 6f 6e 78 |r conx-i|nit conx|
|000013b0| 2d 77 6f 72 64 73 2d 76 | 65 63 74 6f 72 2d 66 70 |-words-v|ector-fp|
|000013c0| 20 30 20 70 6d 20 6e 20 | 69 20 70 20 73 65 61 72 | 0 pm n |i p sear|
|000013d0| 63 68 2d 66 6f 72 77 61 | 72 64 20 22 5c 6e 5c 6e |ch-forwa|rd "\n\n|
|000013e0| 22 20 63 6f 6e 78 69 66 | 79 2d 69 6e 74 65 72 6e |" conxif|y-intern|
|000013f0| 61 6c 20 6d 65 73 73 61 | 67 65 20 22 25 64 25 25 |al messa|ge "%d%%|
|00001400| 2e 2e 2e 22 20 31 30 30 | 20 62 75 66 66 65 72 2d |..." 100| buffer-|
|00001410| 66 69 6c 65 2d 6e 61 6d | 65 20 63 6f 6e 78 2d 66 |file-nam|e conx-f|
|00001420| 69 6c 65 73 20 22 25 73 | 20 77 6f 72 64 73 2c 20 |iles "%s| words, |
|00001430| 25 64 20 75 6e 69 71 75 | 65 22 5d 20 35 20 22 5c |%d uniqu|e"] 5 "\|
|00001440| 0a 41 62 73 6f 72 62 20 | 74 68 65 20 74 65 78 74 |.Absorb |the text|
|00001450| 20 69 6e 20 74 68 65 20 | 63 75 72 72 65 6e 74 20 | in the |current |
|00001460| 62 75 66 66 65 72 20 69 | 6e 74 6f 20 74 68 65 20 |buffer i|nto the |
|00001470| 74 72 65 65 2e 22 20 6e | 69 6c 5d 29 0a 28 66 73 |tree." n|il]).(fs|
|00001480| 65 74 20 27 63 6f 6e 78 | 2d 72 65 67 69 6f 6e 20 |et 'conx|-region |
|00001490| 23 5b 28 70 20 6d 29 20 | 22 8c 7e 88 08 09 7d 88 |#[(p m) |".~...}.|
|000014a0| c2 20 29 87 22 20 5b 70 | 20 6d 20 63 6f 6e 78 2d |. )." [p| m conx-|
|000014b0| 62 75 66 66 65 72 5d 20 | 32 20 22 5c 0a 41 62 73 |buffer] |2 "\.Abs|
|000014c0| 6f 72 62 20 74 68 65 20 | 74 65 78 74 20 69 6e 20 |orb the |text in |
|000014d0| 74 68 65 20 63 75 72 72 | 65 6e 74 20 72 65 67 69 |the curr|ent regi|
|000014e0| 6f 6e 20 69 6e 74 6f 20 | 74 68 65 20 74 72 65 65 |on into |the tree|
|000014f0| 2e 22 20 22 72 22 5d 29 | 0a 28 66 73 65 74 20 27 |." "r"])|.(fset '|
|00001500| 63 6f 6e 78 2d 6d 61 69 | 6c 2d 62 75 66 66 65 72 |conx-mai|l-buffer|
|00001510| 20 23 5b 6e 69 6c 20 22 | 8a 65 62 88 c0 c1 77 88 | #[nil "|.eb...w.|
|00001520| c1 89 89 89 89 1a 1b 1c | 1d 1e 06 c7 c8 21 ac 84 |........|.....!..|
|00001530| c9 ca 21 88 6d ac ad cb | cc c1 cd 23 88 60 14 cb |..!.m...|...#.`..|
|00001540| ce c1 cd 23 88 60 89 13 | 12 cf d0 c1 d1 23 ab 8a |...#.`..|.....#..|
|00001550| d2 60 0b 5c 22 d3 57 ab | 82 60 13 d4 0c 60 5c 22 |.`.\".W.|.`...`\"|
|00001560| 88 5c 6e 62 88 aa 50 2d | 0d ad 88 0e 15 0d 43 a4 |.\nb..P-|......C.|
|00001570| 89 16 15 29 87 22 20 5b | 22 5c 6e 20 09 22 20 6e |...)." [|"\n ." n|
|00001580| 69 6c 20 70 33 20 70 32 | 20 70 20 62 75 66 66 65 |il p3 p2| p buffe|
|00001590| 72 2d 66 69 6c 65 2d 6e | 61 6d 65 20 63 61 73 65 |r-file-n|ame case|
|000015a0| 2d 66 6f 6c 64 2d 73 65 | 61 72 63 68 20 6c 6f 6f |-fold-se|arch loo|
|000015b0| 6b 69 6e 67 2d 61 74 20 | 22 5e 46 72 6f 6d 20 22 |king-at |"^From "|
|000015c0| 20 65 72 72 6f 72 20 22 | 6e 6f 74 20 69 6e 20 2f | error "|not in /|
|000015d0| 62 69 6e 2f 6d 61 69 6c | 20 66 6f 72 6d 61 74 22 |bin/mail| format"|
|000015e0| 20 73 65 61 72 63 68 2d | 66 6f 72 77 61 72 64 20 | search-|forward |
|000015f0| 22 5c 6e 5c 6e 22 20 30 | 20 22 5c 6e 46 72 6f 6d |"\n\n" 0| "\nFrom|
|00001600| 20 22 20 72 65 2d 73 65 | 61 72 63 68 2d 62 61 63 | " re-se|arch-bac|
|00001610| 6b 77 61 72 64 20 22 5c | 6e 2d 2d 2b 5c 6e 22 20 |kward "\|n--+\n" |
|00001620| 74 20 63 6f 75 6e 74 2d | 6c 69 6e 65 73 20 39 20 |t count-|lines 9 |
|00001630| 63 6f 6e 78 2d 72 65 67 | 69 6f 6e 20 63 6f 6e 78 |conx-reg|ion conx|
|00001640| 2d 66 69 6c 65 73 5d 20 | 35 20 22 5c 0a 43 6f 6e |-files] |5 "\.Con|
|00001650| 78 69 66 79 20 61 20 62 | 75 66 66 65 72 20 69 6e |xify a b|uffer in|
|00001660| 20 2f 62 69 6e 2f 6d 61 | 69 6c 20 66 6f 72 6d 61 | /bin/ma|il forma|
|00001670| 74 2e 22 20 6e 69 6c 5d | 29 0a 28 62 79 74 65 2d |t." nil]|).(byte-|
|00001680| 63 6f 64 65 20 22 c0 c1 | 4d 88 c2 c3 4d 88 c4 c5 |code "..|M...M...|
|00001690| 4d 87 22 20 5b 63 6f 6e | 78 2d 72 61 6e 64 6f 6d |M." [con|x-random|
|000016a0| 2d 72 65 6c 61 74 65 64 | 20 23 5b 28 63 6f 75 6e |-related| #[(coun|
|000016b0| 74 20 6c 69 73 74 29 20 | 22 08 c1 55 ab 83 c1 aa |t list) |"..U....|
|000016c0| 87 c2 0b c4 20 5c 22 08 | a6 c5 1e 06 1e 07 0e 08 |.... \".|........|
|000016d0| ab a6 0e 07 0e 08 40 41 | 58 ab 8c 0e 08 40 40 16 |......@A|X....@@.|
|000016e0| 06 c5 89 16 08 aa 69 0e | 07 0e 08 40 41 5a 16 07 |......i.|...@AZ..|
|000016f0| 0e 08 41 89 16 08 ac 5a | 0e 06 2a 87 22 20 5b 63 |..A....Z|..*." [c|
|00001700| 6f 75 6e 74 20 30 20 6c | 6f 67 61 6e 64 20 63 6f |ount 0 l|ogand co|
|00001710| 6e 78 2d 6d 6f 73 74 2d | 70 6f 73 69 74 69 76 65 |nx-most-|positive|
|00001720| 2d 66 69 78 6e 75 6d 20 | 72 61 6e 64 6f 6d 20 6e |-fixnum |random n|
|00001730| 69 6c 20 61 6e 73 20 66 | 6f 6c 6c 20 6c 69 73 74 |il ans f|oll list|
|00001740| 5d 20 34 5d 20 63 6f 6e | 78 2d 72 61 6e 64 6f 6d |] 4] con|x-random|
|00001750| 2d 73 75 63 63 20 23 5b | 28 77 6f 72 64 29 20 22 |-succ #[|(word) "|
|00001760| 08 4a c1 48 c2 55 ab 82 | 08 87 c3 08 4a c1 48 08 |.J.H.U..|....J.H.|
|00001770| 4a c4 48 5c 22 1d c6 0e | 07 c8 20 5c 22 0e 09 a6 |J.H\"...|.. \"...|
|00001780| c2 55 ab 8e ca c3 0d 4a | cb 48 0d 4a cc 48 5c 22 |.U.....J|.H.J.H\"|
|00001790| 21 aa 81 0d 29 87 22 20 | 5b 77 6f 72 64 20 38 20 |!...)." |[word 8 |
|000017a0| 30 20 63 6f 6e 78 2d 72 | 61 6e 64 6f 6d 2d 72 65 |0 conx-r|andom-re|
|000017b0| 6c 61 74 65 64 20 36 20 | 6e 65 78 74 20 6c 6f 67 |lated 6 |next log|
|000017c0| 61 6e 64 20 63 6f 6e 78 | 2d 6d 6f 73 74 2d 70 6f |and conx|-most-po|
|000017d0| 73 69 74 69 76 65 2d 66 | 69 78 6e 75 6d 20 72 61 |sitive-f|ixnum ra|
|000017e0| 6e 64 6f 6d 20 63 6f 6e | 78 2d 62 6f 75 6e 63 65 |ndom con|x-bounce|
|000017f0| 20 63 6f 6e 78 2d 72 61 | 6e 64 6f 6d 2d 73 75 63 | conx-ra|ndom-suc|
|00001800| 63 20 39 20 37 5d 20 35 | 5d 20 63 6f 6e 78 2d 73 |c 9 7] 5|] conx-s|
|00001810| 65 6e 74 65 6e 63 65 20 | 23 5b 6e 69 6c 20 22 08 |entence |#[nil ".|
|00001820| c1 56 ac 84 c2 c3 21 88 | 0c c5 0e 06 c7 20 5c 22 |.V....!.|..... \"|
|00001830| 08 a6 48 1e 08 c9 1e 5c | 6e 60 1e 0b cc 1e 0d cc |..H....\|n`......|
|00001840| 1e 0e cc 1e 0f 0e 08 83 | 00 01 c5 0e 06 c7 20 5c |........|...... \|
|00001850| 22 0e 08 4a 89 16 0d c1 | 48 a6 16 0e 0e 5c 6e ac |"..J....|H....\n.|
|00001860| 8b 0e 0d c1 48 0e 0d d0 | 48 55 ab 99 cc 16 5c 6e |....H...|HU....\n|
|00001870| d1 0e 08 21 89 16 0f c1 | 48 d2 5c 5c 63 88 0e 0f |...!....|H.\\c...|
|00001880| d0 cc 4f 63 88 aa 86 d1 | 0e 08 21 63 88 0e 0e 0e |..Oc....|..!c....|
|00001890| 0d d3 48 57 ab 85 d4 63 | 88 aa fb 0e 0e 0e 0d d3 |..HW...c|........|
|000018a0| 48 5a 89 16 0e 0e 0d d5 | 48 57 ab aa cc 16 08 c5 |HZ......|HW......|
|000018b0| 0e 06 c7 20 5c 22 d6 a6 | c1 55 ab 96 c5 0e 06 c7 |... \"..|.U......|
|000018c0| 20 5c 22 d7 a6 c1 55 ab | 85 d8 63 88 aa ca d9 63 | \"...U.|..c....c|
|000018d0| 88 aa c5 da 63 88 aa c0 | 0e 0e 0e 0d d5 48 5a 89 |....c...|.....HZ.|
|000018e0| 16 0e 0e 0d d7 48 57 ab | 88 cc 16 08 db 63 88 aa |.....HW.|.....c..|
|000018f0| a7 0e 0e 0e 0d d7 48 5a | 89 16 0e 0e 0d d6 48 57 |......HZ|......HW|
|00001900| ab 88 cc 16 08 dc 63 88 | aa 8e dd 63 88 0e 0d de |......c.|...c....|
|00001910| 48 c1 55 ab 83 cc 16 08 | 0e 08 83 24 00 df 0e 08 |H.U.....|...$....|
|00001920| 21 89 16 08 84 29 00 e0 | 8a 0e 0b 62 88 c1 79 88 |!....)..|...b..y.|
|00001930| 60 29 60 5c 22 88 68 e1 | 55 ab 98 c5 0e 06 c7 20 |`)`\".h.|U...... |
|00001940| 5c 22 d7 a6 c1 55 ab 85 | e2 63 88 aa 87 e3 e4 21 |\"...U..|.c.....!|
|00001950| 88 e5 63 88 2e 06 cc 87 | 22 20 5b 63 6f 6e 78 2d |..c.....|" [conx-|
|00001960| 77 6f 72 64 73 2d 76 65 | 63 74 6f 72 2d 66 70 20 |words-ve|ctor-fp |
|00001970| 30 20 65 72 72 6f 72 20 | 22 6e 6f 20 63 6f 6e 78 |0 error |"no conx|
|00001980| 20 64 61 74 61 20 69 73 | 20 6c 6f 61 64 65 64 3b | data is| loaded;|
|00001990| 20 73 65 65 20 60 63 6f | 6e 78 2d 62 75 66 66 65 | see `co|nx-buffe|
|000019a0| 72 27 2e 22 20 63 6f 6e | 78 2d 77 6f 72 64 73 2d |r'." con|x-words-|
|000019b0| 76 65 63 74 6f 72 20 6c | 6f 67 61 6e 64 20 63 6f |vector l|ogand co|
|000019c0| 6e 78 2d 6d 6f 73 74 2d | 70 6f 73 69 74 69 76 65 |nx-most-|positive|
|000019d0| 2d 66 69 78 6e 75 6d 20 | 72 61 6e 64 6f 6d 20 77 |-fixnum |random w|
|000019e0| 6f 72 64 20 74 20 66 69 | 72 73 74 2d 70 20 70 20 |ord t fi|rst-p p |
|000019f0| 6e 69 6c 20 76 65 63 20 | 70 75 6e 63 20 73 74 72 |nil vec |punc str|
|00001a00| 20 31 20 73 79 6d 62 6f | 6c 2d 6e 61 6d 65 20 2d | 1 symbo|l-name -|
|00001a10| 33 32 20 32 20 22 2c 20 | 22 20 33 20 35 20 34 20 |32 2 ", |" 3 5 4 |
|00001a20| 22 3a 20 22 20 22 3b 20 | 22 20 22 2e 20 20 22 20 |": " "; |" ". " |
|00001a30| 22 3f 20 20 22 20 22 21 | 20 20 22 20 22 20 22 20 |"? " "!| " " " |
|00001a40| 38 20 63 6f 6e 78 2d 72 | 61 6e 64 6f 6d 2d 73 75 |8 conx-r|andom-su|
|00001a50| 63 63 20 66 69 6c 6c 2d | 72 65 67 69 6f 6e 2d 61 |cc fill-|region-a|
|00001a60| 73 2d 70 61 72 61 67 72 | 61 70 68 20 31 30 20 22 |s-paragr|aph 10 "|
|00001a70| 5c 6e 22 20 64 65 6c 65 | 74 65 2d 63 68 61 72 20 |\n" dele|te-char |
|00001a80| 2d 31 20 22 20 20 22 5d | 20 35 5d 5d 20 32 29 0a |-1 " "]| 5]] 2).|
|00001a90| 28 66 73 65 74 20 27 63 | 6f 6e 78 20 23 5b 6e 69 |(fset 'c|onx #[ni|
|00001aa0| 6c 20 22 c0 c1 c2 21 71 | 21 88 c3 c4 c2 21 21 88 |l "...!q|!....!!.|
|00001ab0| c5 c6 21 88 64 62 88 c7 | 68 c8 55 ab 83 c9 aa 81 |..!.db..|h.U.....|
|00001ac0| ca 21 88 cb 20 88 aa 6c | 22 20 5b 64 69 73 70 6c |.!.. ..l|" [displ|
|00001ad0| 61 79 2d 62 75 66 66 65 | 72 20 67 65 74 2d 62 75 |ay-buffe|r get-bu|
|00001ae0| 66 66 65 72 2d 63 72 65 | 61 74 65 20 22 2a 63 6f |ffer-cre|ate "*co|
|00001af0| 6e 78 2a 22 20 73 65 6c | 65 63 74 2d 77 69 6e 64 |nx*" sel|ect-wind|
|00001b00| 6f 77 20 67 65 74 2d 62 | 75 66 66 65 72 2d 77 69 |ow get-b|uffer-wi|
|00001b10| 6e 64 6f 77 20 6d 65 73 | 73 61 67 65 20 22 74 79 |ndow mes|sage "ty|
|00001b20| 70 65 20 5e 47 20 74 6f | 20 73 74 6f 70 2e 22 20 |pe ^G to| stop." |
|00001b30| 73 69 74 2d 66 6f 72 20 | 31 30 20 32 20 30 20 63 |sit-for |10 2 0 c|
|00001b40| 6f 6e 78 2d 73 65 6e 74 | 65 6e 63 65 5d 20 33 20 |onx-sent|ence] 3 |
|00001b50| 22 5c 0a 47 65 6e 65 72 | 61 74 65 20 73 6f 6d 65 |"\.Gener|ate some|
|00001b60| 20 72 61 6e 64 6f 6d 20 | 73 65 6e 74 65 6e 63 65 | random |sentence|
|00001b70| 73 20 69 6e 20 74 68 65 | 20 2a 63 6f 6e 78 2a 20 |s in the| *conx* |
|00001b80| 62 75 66 66 65 72 2e 22 | 20 6e 69 6c 5d 29 0a 28 |buffer."| nil]).(|
|00001b90| 66 73 65 74 20 27 63 6f | 6e 78 2d 67 6e 75 73 2d |fset 'co|nx-gnus-|
|00001ba0| 73 6e 61 72 66 20 23 5b | 6e 69 6c 20 22 08 71 88 |snarf #[|nil ".q.|
|00001bb0| 8a 8c 7e 88 65 62 88 c1 | c2 c3 c4 23 88 c5 60 64 |..~.eb..|...#..`d|
|00001bc0| 5c 22 2a 87 22 20 5b 67 | 6e 75 73 2d 61 72 74 69 |\"*." [g|nus-arti|
|00001bd0| 63 6c 65 2d 62 75 66 66 | 65 72 20 73 65 61 72 63 |cle-buff|er searc|
|00001be0| 68 2d 66 6f 72 77 61 72 | 64 20 22 5c 6e 5c 6e 22 |h-forwar|d "\n\n"|
|00001bf0| 20 6e 69 6c 20 74 20 63 | 6f 6e 78 2d 72 65 67 69 | nil t c|onx-regi|
|00001c00| 6f 6e 5d 20 34 20 22 5c | 0a 46 6f 72 20 75 73 65 |on] 4 "\|.For use|
|00001c10| 20 61 73 20 61 20 67 6e | 75 73 2d 73 65 6c 65 63 | as a gn|us-selec|
|00001c20| 74 2d 61 72 74 69 63 6c | 65 2d 68 6f 6f 6b 2e 22 |t-articl|e-hook."|
|00001c30| 5d 29 0a 28 66 73 65 74 | 20 27 70 73 79 63 68 6f |]).(fset| 'psycho|
|00001c40| 61 6e 61 6c 79 7a 65 2d | 63 6f 6e 78 20 23 5b 6e |analyze-|conx #[n|
|00001c50| 69 6c 20 22 c0 20 88 c1 | c2 21 88 c3 c4 21 88 c5 |il ". ..|.!...!..|
|00001c60| c6 21 88 c7 20 3f ad 97 | c8 20 88 c9 ca 21 c6 55 |.!.. ?..|. ...!.U|
|00001c70| ab 83 c8 20 88 c5 c6 21 | 88 cb cc 21 88 aa 64 87 |... ...!|...!..d.|
|00001c80| 22 20 5b 64 6f 63 74 6f | 72 20 6d 65 73 73 61 67 |" [docto|r messag|
|00001c90| 65 20 22 22 20 73 77 69 | 74 63 68 2d 74 6f 2d 62 |e "" swi|tch-to-b|
|00001ca0| 75 66 66 65 72 20 22 2a | 64 6f 63 74 6f 72 2a 22 |uffer "*|doctor*"|
|00001cb0| 20 73 69 74 2d 66 6f 72 | 20 30 20 69 6e 70 75 74 | sit-for| 0 input|
|00001cc0| 2d 70 65 6e 64 69 6e 67 | 2d 70 20 63 6f 6e 78 2d |-pending|-p conx-|
|00001cd0| 73 65 6e 74 65 6e 63 65 | 20 72 61 6e 64 6f 6d 20 |sentence| random |
|00001ce0| 32 20 64 6f 63 74 6f 72 | 2d 72 65 74 2d 6f 72 2d |2 doctor|-ret-or-|
|00001cf0| 72 65 61 64 20 31 5d 20 | 32 20 22 5c 0a 4d 72 2e |read 1] |2 "\.Mr.|
|00001d00| 20 52 61 6e 64 6f 6d 20 | 67 6f 65 73 20 74 6f 20 | Random |goes to |
|00001d10| 74 68 65 20 61 6e 61 6c | 79 73 74 2e 22 20 6e 69 |the anal|yst." ni|
|00001d20| 6c 5d 29 0a 28 66 73 65 | 74 20 27 63 6f 6e 78 2d |l]).(fse|t 'conx-|
|00001d30| 73 61 76 65 20 23 5b 28 | 66 69 6c 65 29 20 22 8a |save #[(|file) ".|
|00001d40| c0 19 c0 8e c2 c3 21 89 | 11 71 88 65 64 7c 88 c4 |......!.|.q.ed|..|
|00001d50| 63 88 c5 63 88 0e 06 ab | 8b c7 c8 c9 0e 06 ca 23 |c..c....|.......#|
|00001d60| cb b1 03 88 cc cd 20 ce | b1 03 88 60 cf d0 d1 1e |...... .|...`....|
|00001d70| 12 1e 13 1e 14 1e 15 d6 | 63 88 0e 12 0e 17 57 ab |........|c.....W.|
|00001d80| 94 d8 0e 19 0e 12 48 70 | 5c 22 88 da 63 88 0e 12 |......Hp|\"..c...|
|00001d90| 54 89 16 12 aa 67 db 63 | 88 dc 0e 15 60 5c 22 88 |T....g.c|....`\".|
|00001da0| cb 63 88 2c dd de 0e 1f | 5c 22 88 65 62 88 e0 e1 |.c.,....|\".eb...|
|00001db0| c0 e2 23 ab 86 e3 e4 21 | 88 aa 73 e5 0e 26 21 88 |..#....!|..s..&!.|
|00001dc0| e7 20 88 29 09 ad 83 e8 | 09 21 2a 87 22 20 5b 6e |. .)....|.!*." [n|
|00001dd0| 69 6c 20 62 20 67 65 74 | 2d 62 75 66 66 65 72 2d |il b get|-buffer-|
|00001de0| 63 72 65 61 74 65 20 22 | 2a 63 6f 6e 78 2d 73 61 |create "|*conx-sa|
|00001df0| 76 65 2d 74 6d 70 2a 22 | 20 22 3b 3b 3b 20 2d 2a |ve-tmp*"| ";;; -*|
|00001e00| 2d 20 4d 6f 64 65 3a 45 | 6d 61 63 73 2d 4c 69 73 |- Mode:E|macs-Lis|
|00001e10| 70 20 2d 2a 2d 5c 6e 22 | 20 22 3b 3b 3b 20 54 68 |p -*-\n"| ";;; Th|
|00001e20| 69 73 20 69 73 20 61 20 | 43 4f 4e 58 20 64 61 74 |is is a |CONX dat|
|00001e30| 61 62 61 73 65 20 66 69 | 6c 65 2e 20 20 4c 6f 61 |abase fi|le. Loa|
|00001e40| 64 20 69 74 20 77 69 74 | 68 20 60 63 6f 6e 78 2d |d it wit|h `conx-|
|00001e50| 6c 6f 61 64 27 2e 5c 6e | 22 20 63 6f 6e 78 2d 66 |load'.\n|" conx-f|
|00001e60| 69 6c 65 73 20 22 3b 3b | 3b 20 43 6f 72 70 75 73 |iles ";;|; Corpus|
|00001e70| 3a 20 22 20 6d 61 70 63 | 6f 6e 63 61 74 20 69 64 |: " mapc|oncat id|
|00001e80| 65 6e 74 69 74 79 20 22 | 2c 20 22 20 22 5c 6e 22 |entity "|, " "\n"|
|00001e90| 20 22 3b 3b 3b 20 44 61 | 74 65 3a 20 22 20 63 75 | ";;; Da|te: " cu|
|00001ea0| 72 72 65 6e 74 2d 74 69 | 6d 65 2d 73 74 72 69 6e |rrent-ti|me-strin|
|00001eb0| 67 20 22 5c 6e 5c 6e 22 | 20 37 38 20 22 09 22 20 |g "\n\n"| 78 "." |
|00001ec0| 30 20 69 20 66 69 6c 6c | 2d 70 72 65 66 69 78 20 |0 i fill|-prefix |
|00001ed0| 66 69 6c 6c 2d 63 6f 6c | 75 6d 6e 20 70 20 22 28 |fill-col|umn p "(|
|00001ee0| 21 21 20 5b 09 22 20 63 | 6f 6e 78 2d 77 6f 72 64 |!! [." c|onx-word|
|00001ef0| 73 2d 76 65 63 74 6f 72 | 2d 66 70 20 70 72 69 6e |s-vector|-fp prin|
|00001f00| 31 20 63 6f 6e 78 2d 77 | 6f 72 64 73 2d 76 65 63 |1 conx-w|ords-vec|
|00001f10| 74 6f 72 20 22 20 22 20 | 22 5d 29 5c 6e 22 20 66 |tor " " |"])\n" f|
|00001f20| 69 6c 6c 2d 72 65 67 69 | 6f 6e 2d 61 73 2d 70 61 |ill-regi|on-as-pa|
|00001f30| 72 61 67 72 61 70 68 20 | 6d 61 70 61 74 6f 6d 73 |ragraph |mapatoms|
|00001f40| 20 23 5b 28 73 79 6d 29 | 20 22 c0 09 21 3f 3f ad | #[(sym)| "..!??.|
|00001f50| 93 c2 63 88 c3 09 70 5c | 22 88 c4 63 88 c3 09 4a |..c...p\|"..c...J|
|00001f60| 70 5c 22 88 c5 63 87 22 | 20 5b 62 6f 75 6e 64 70 |p\"..c."| [boundp|
|00001f70| 20 73 79 6d 20 22 28 21 | 20 22 20 70 72 69 6e 31 | sym "(!| " prin1|
|00001f80| 20 22 20 22 20 22 29 5c | 6e 22 5d 20 33 5d 20 63 | " " ")\|n"] 3] c|
|00001f90| 6f 6e 78 2d 77 6f 72 64 | 73 2d 68 61 73 68 74 61 |onx-word|s-hashta|
|00001fa0| 62 6c 65 20 72 65 2d 73 | 65 61 72 63 68 2d 66 6f |ble re-s|earch-fo|
|00001fb0| 72 77 61 72 64 20 22 5c | 5c 62 6e 69 6c 5c 5c 62 |rward "\|\bnil\\b|
|00001fc0| 22 20 74 20 72 65 70 6c | 61 63 65 2d 6d 61 74 63 |" t repl|ace-matc|
|00001fd0| 68 20 22 28 29 22 20 73 | 65 74 2d 76 69 73 69 74 |h "()" s|et-visit|
|00001fe0| 65 64 2d 66 69 6c 65 2d | 6e 61 6d 65 20 66 69 6c |ed-file-|name fil|
|00001ff0| 65 20 73 61 76 65 2d 62 | 75 66 66 65 72 20 6b 69 |e save-b|uffer ki|
|00002000| 6c 6c 2d 62 75 66 66 65 | 72 5d 20 36 20 22 5c 0a |ll-buffe|r] 6 "\.|
|00002010| 53 61 76 65 20 74 68 65 | 20 63 75 72 72 65 6e 74 |Save the| current|
|00002020| 20 43 4f 4e 58 20 64 61 | 74 61 62 61 73 65 20 74 | CONX da|tabase t|
|00002030| 6f 20 61 20 66 69 6c 65 | 20 66 6f 72 20 66 75 74 |o a file| for fut|
|00002040| 75 72 65 20 72 65 74 72 | 69 65 76 61 6c 2e 0a 59 |ure retr|ieval..Y|
|00002050| 6f 75 20 63 61 6e 20 72 | 65 2d 6c 6f 61 64 20 74 |ou can r|e-load t|
|00002060| 68 69 73 20 64 61 74 61 | 62 61 73 65 20 77 69 74 |his data|base wit|
|00002070| 68 20 74 68 65 20 5c 5c | 5b 63 6f 6e 78 2d 6c 6f |h the \\|[conx-lo|
|00002080| 61 64 5d 20 63 6f 6d 6d | 61 6e 64 2e 22 20 22 46 |ad] comm|and." "F|
|00002090| 53 61 76 65 20 43 4f 4e | 58 20 63 6f 72 70 75 73 |Save CON|X corpus|
|000020a0| 20 74 6f 20 66 69 6c 65 | 3a 20 22 5d 29 0a 28 66 | to file|: "]).(f|
|000020b0| 73 65 74 20 27 63 6f 6e | 78 2d 6c 6f 61 64 20 23 |set 'con|x-load #|
|000020c0| 5b 28 66 69 6c 65 29 20 | 22 c0 20 88 c1 c2 0b 5c |[(file) |". ....\|
|000020d0| 22 c4 4d 88 c1 c5 0b 5c | 22 c6 4b 4d 88 0b 1e 07 |".M....\|".KM....|
|000020e0| c8 0e 09 21 29 87 22 20 | 5b 63 6f 6e 78 2d 69 6e |...!)." |[conx-in|
|000020f0| 69 74 20 69 6e 74 65 72 | 6e 20 22 21 21 22 20 63 |it inter|n "!!" c|
|00002100| 6f 6e 78 2d 77 6f 72 64 | 73 2d 68 61 73 68 74 61 |onx-word|s-hashta|
|00002110| 62 6c 65 20 23 5b 28 76 | 65 63 29 20 22 08 11 08 |ble #[(v|ec) "...|
|00002120| 47 89 12 87 22 20 5b 76 | 65 63 20 63 6f 6e 78 2d |G..." [v|ec conx-|
|00002130| 77 6f 72 64 73 2d 76 65 | 63 74 6f 72 20 63 6f 6e |words-ve|ctor con|
|00002140| 78 2d 77 6f 72 64 73 2d | 76 65 63 74 6f 72 2d 66 |x-words-|vector-f|
|00002150| 70 5d 20 32 5d 20 22 21 | 22 20 73 65 74 71 20 6f |p] 2] "!|" setq o|
|00002160| 62 61 72 72 61 79 20 6c | 6f 61 64 20 66 69 6c 65 |barray l|oad file|
|00002170| 5d 20 33 20 22 5c 0a 4c | 6f 61 64 20 69 6e 20 61 |] 3 "\.L|oad in a|
|00002180| 20 43 4f 4e 58 20 64 61 | 74 61 62 61 73 65 20 77 | CONX da|tabase w|
|00002190| 72 69 74 74 65 6e 20 62 | 79 20 74 68 65 20 5c 5c |ritten b|y the \\|
|000021a0| 5b 63 6f 6e 78 2d 73 61 | 76 65 5d 20 63 6f 6d 6d |[conx-sa|ve] comm|
|000021b0| 61 6e 64 2e 0a 54 68 69 | 73 20 63 6c 65 61 72 73 |and..Thi|s clears|
|000021c0| 20 74 68 65 20 64 61 74 | 61 62 61 73 65 20 63 75 | the dat|abase cu|
|000021d0| 72 72 65 6e 74 6c 79 20 | 69 6e 20 6d 65 6d 6f 72 |rrently |in memor|
|000021e0| 79 2e 22 20 22 66 4c 6f | 61 64 20 43 4f 4e 58 20 |y." "fLo|ad CONX |
|000021f0| 63 6f 72 70 75 73 20 66 | 72 6f 6d 20 66 69 6c 65 |corpus f|rom file|
|00002200| 3a 20 22 5d 29 0a 28 62 | 79 74 65 2d 63 6f 64 65 |: "]).(b|yte-code|
|00002210| 20 22 c0 c1 4d 88 c2 c3 | 21 ac 82 c4 13 c2 c5 21 | "..M...|!......!|
|00002220| ac 82 c6 15 c0 87 22 20 | 5b 63 6f 6e 78 2d 65 6d |......" |[conx-em|
|00002230| 69 74 2d 63 2d 64 61 74 | 61 20 23 5b 28 26 6f 70 |it-c-dat|a #[(&op|
|00002240| 74 69 6f 6e 61 6c 20 61 | 6e 73 69 2d 70 29 20 22 |tional a|nsi-p) "|
|00002250| c0 70 c0 89 89 89 c1 c0 | 89 89 1a 1b 1c 1d 1e 06 |.p......|........|
|00002260| 1e 07 1e 08 1e 09 1e 5c | 6e 1e 0b 0e 0c ac 84 cd |.......\|n.......|
|00002270| ce 21 88 cf 1e 10 d1 d2 | 0e 0c 5c 22 88 29 0e 0b |.!......|..\".)..|
|00002280| 9f 89 16 0b 47 d3 5f 13 | d4 d5 d6 21 ab 87 d7 0b |....G._.|...!....|
|00002290| 21 d8 a5 aa 83 0b d8 a5 | 5d 12 cf 14 0e 0b d9 c0 |!.......|].......|
|000022a0| 89 1e 1a 1e 1b 1e 10 1e | 1c dd 63 88 0e 1c 83 fa |........|..c.....|
|000022b0| 00 0e 1c 40 41 4a 89 16 | 1a de 48 16 1b 0c 54 14 |...@AJ..|..H...T.|
|000022c0| 0e 1b ab b1 df 0e 1b 40 | 41 21 88 e0 63 88 df e1 |.......@|A!..c...|
|000022d0| 0e 1b 40 40 0e 0b 5c 22 | 40 21 88 e0 63 88 0e 10 |..@@..\"|@!..c...|
|000022e0| 54 89 16 10 e2 56 ab 86 | e3 63 88 cf 16 10 0e 1b |T....V..|.c......|
|000022f0| 41 89 16 1b ac 4f e4 e5 | 0c 5c 6e a5 5c 22 88 0c |A....O..|.\n.\"..|
|00002300| 54 14 0e 1a e6 48 89 16 | 1b ab b1 df 0e 1b 40 41 |T....H..|......@A|
|00002310| 21 88 e0 63 88 df e1 0e | 1b 40 40 0e 0b 5c 22 40 |!..c....|.@@..\"@|
|00002320| 21 88 e0 63 88 0e 10 54 | 89 16 10 e2 56 ab 86 e3 |!..c...T|....V...|
|00002330| 63 88 cf 16 10 0e 1b 41 | 89 16 1b ac 4f e4 e5 0c |c......A|....O...|
|00002340| 5c 6e a5 5c 22 88 0c 54 | 14 0e 1c 41 89 16 1c 84 |\n.\"..T|...A....|
|00002350| 5f 00 2c e7 63 88 0e 0b | cf e8 c0 89 1e 1a 1e 29 |_.,.c...|.......)|
|00002360| 1e 2a 1e 10 89 1e 1c ab | cb eb 0e 1c 40 41 21 89 |.*......|....@A!.|
|00002370| 16 1a 47 54 16 29 0e 10 | 0e 29 5c 5c 16 10 0e 2a |..GT.)..|.)\\...*|
|00002380| 0e 29 ec 5c 5c 5c 5c 89 | 16 2a ed 56 ab 90 0e 2e |.).\\\\.|.*.V....|
|00002390| ab 83 ef aa 81 f0 63 88 | 0e 29 ec 5c 5c 16 2a 0e |......c.|.).\\.*.|
|000023a0| 1a 63 88 f1 63 88 e4 e5 | 0c 5c 6e a5 5c 22 88 0c |.c..c...|.\n.\"..|
|000023b0| 54 14 0e 1c 41 89 16 1c | ac 35 2d f2 63 88 0e 0b |T...A...|.5-.c...|
|000023c0| cf 89 c0 89 89 1e 1a 1e | 33 1e 34 1e 2a 1e 10 89 |........|3.4.*...|
|000023d0| 1e 1c 83 53 02 0e 1c 40 | 16 34 eb 0e 34 41 21 16 |...S...@|.4..4A!.|
|000023e0| 33 0e 34 41 4a 16 1a f5 | 63 88 df 0e 1a cf 48 21 |3.4AJ...|c.....H!|
|000023f0| 88 e0 63 88 df 0e 1a d4 | 48 21 88 e0 63 88 df 0e |..c.....|H!..c...|
|00002400| 1a f6 48 21 88 e0 63 88 | df 0e 1a ec 48 21 88 e0 |..H!..c.|....H!..|
|00002410| 63 88 df 0e 1a d3 48 21 | 88 e0 63 88 df 0e 1a d9 |c.....H!|..c.....|
|00002420| 48 21 88 0e 1a de 48 ac | 85 f7 63 88 aa 94 e0 63 |H!....H.|..c....c|
|00002430| 88 df 0e 10 21 88 0e 10 | 0e 1a de 48 47 f6 5f 5c |....!...|...HG._\|
|00002440| 5c 16 10 0e 1a e6 48 ac | 85 f8 63 88 aa 97 e0 63 |\.....H.|..c....c|
|00002450| 88 df 0e 10 21 88 e0 63 | 88 0e 10 0e 1a e6 48 47 |....!..c|......HG|
|00002460| f6 5f 5c 5c 16 10 df 0e | 1a f9 48 21 88 e0 63 88 |._\\....|..H!..c.|
|00002470| df 0e 1a fa 48 21 88 e0 | 63 88 df 0e 2a 21 88 0e |....H!..|c...*!..|
|00002480| 2a 0e 33 47 d4 5c 5c 5c | 5c 16 2a 0e 1c 41 ab 8f |*.3G.\\\|\.*..A..|
|00002490| 0e 34 40 f6 a6 cf 55 ab | 83 fb aa 84 fc aa 81 fd |.4@...U.|........|
|000024a0| 63 88 e4 e5 0c 5c 6e a5 | 5c 22 88 0c 54 14 0e 1c |c....\n.|\"..T...|
|000024b0| 41 89 16 1c 84 77 01 2e | 06 fe 63 88 df 0e 3f 21 |A....w..|..c...?!|
|000024c0| 88 e3 63 88 e4 81 40 00 | 21 2e 5c 6e 87 22 20 5b |..c...@.|!.\n." [|
|000024d0| 6e 69 6c 20 22 25 2e 32 | 66 22 20 74 6f 74 61 6c |nil "%.2|f" total|
|000024e0| 31 30 30 20 74 6f 74 61 | 6c 20 63 6f 75 6e 74 20 |100 tota|l count |
|000024f0| 66 6c 6f 61 74 2d 6f 75 | 74 70 75 74 2d 66 6f 72 |float-ou|tput-for|
|00002500| 6d 61 74 20 62 65 66 6f | 72 65 2d 63 68 61 6e 67 |mat befo|re-chang|
|00002510| 65 2d 66 75 6e 63 74 69 | 6f 6e 20 61 66 74 65 72 |e-functi|on after|
|00002520| 2d 63 68 61 6e 67 65 2d | 66 75 6e 63 74 69 6f 6e |-change-|function|
|00002530| 20 62 65 66 6f 72 65 2d | 63 68 61 6e 67 65 2d 66 | before-|change-f|
|00002540| 75 6e 63 74 69 6f 6e 73 | 20 61 66 74 65 72 2d 63 |unctions| after-c|
|00002550| 68 61 6e 67 65 2d 66 75 | 6e 63 74 69 6f 6e 73 20 |hange-fu|nctions |
|00002560| 73 74 61 6e 64 61 72 64 | 2d 6f 75 74 70 75 74 20 |standard|-output |
|00002570| 61 6c 6c 20 63 6f 6e 78 | 2d 77 6f 72 64 73 2d 68 |all conx|-words-h|
|00002580| 61 73 68 74 61 62 6c 65 | 20 65 72 72 6f 72 20 22 |ashtable| error "|
|00002590| 6e 6f 20 77 6f 72 64 73 | 22 20 30 20 69 20 6d 61 |no words|" 0 i ma|
|000025a0| 70 61 74 6f 6d 73 20 23 | 5b 28 78 29 20 22 c0 09 |patoms #|[(x) "..|
|000025b0| 21 ad 8a 5c 6e 09 42 0b | 42 13 5c 6e 54 89 12 87 |!..\n.B.|B.\nT...|
|000025c0| 22 20 5b 62 6f 75 6e 64 | 70 20 78 20 69 20 61 6c |" [bound|p x i al|
|000025d0| 6c 5d 20 32 5d 20 34 20 | 31 20 66 65 61 74 75 72 |l] 2] 4 |1 featur|
|000025e0| 65 70 20 6c 69 73 70 2d | 66 6c 6f 61 74 2d 74 79 |ep lisp-|float-ty|
|000025f0| 70 65 20 66 6c 6f 61 74 | 20 31 30 30 20 35 20 77 |pe float| 100 5 w|
|00002600| 6f 72 64 20 72 65 73 74 | 32 20 72 65 73 74 20 22 |ord rest|2 rest "|
|00002610| 73 74 61 74 69 63 20 75 | 6e 73 69 67 6e 65 64 20 |static u|nsigned |
|00002620| 73 68 6f 72 74 20 44 5b | 5d 20 3d 20 7b 22 20 37 |short D[|] = {" 7|
|00002630| 20 70 72 69 6e 63 20 22 | 2c 22 20 72 61 73 73 71 | princ "|," rassq|
|00002640| 20 31 30 20 22 5c 6e 22 | 20 6d 65 73 73 61 67 65 | 10 "\n"| message|
|00002650| 20 22 57 72 69 74 69 6e | 67 20 43 20 63 6f 64 65 | "Writin|g C code|
|00002660| 2e 2e 2e 20 25 73 25 25 | 22 20 36 20 22 30 7d 3b |... %s%%|" 6 "0};|
|00002670| 5c 6e 73 74 61 74 69 63 | 20 63 68 61 72 20 54 5b |\nstatic| char T[|
|00002680| 5d 20 3d 20 5c 22 22 20 | 32 30 20 6b 20 6a 20 73 |] = \"" |20 k j s|
|00002690| 79 6d 62 6f 6c 2d 6e 61 | 6d 65 20 33 20 37 37 20 |ymbol-na|me 3 77 |
|000026a0| 61 6e 73 69 2d 70 20 22 | 5c 22 5c 6e 5c 22 22 20 |ansi-p "|\"\n\"" |
|000026b0| 22 5c 5c 5c 6e 22 20 22 | 5c 5c 30 30 30 22 20 22 |"\\\n" "|\\000" "|
|000026c0| 5c 22 3b 5c 6e 73 74 61 | 74 69 63 20 73 74 72 75 |\";\nsta|tic stru|
|000026d0| 63 74 20 63 6f 6e 78 5f | 77 6f 72 64 20 77 6f 72 |ct conx_|word wor|
|000026e0| 64 73 20 5b 5d 20 3d 20 | 7b 22 20 6e 61 6d 65 20 |ds [] = |{" name |
|000026f0| 63 6f 6e 73 20 22 7b 22 | 20 32 20 22 2c 30 22 20 |cons "{"| 2 ",0" |
|00002700| 22 2c 30 2c 22 20 39 20 | 38 20 22 7d 2c 5c 6e 22 |",0," 9 |8 "},\n"|
|00002710| 20 22 7d 2c 22 20 22 7d | 22 20 22 7d 3b 5c 6e 23 | "}," "}|" "};\n#|
|00002720| 64 65 66 69 6e 65 20 63 | 6f 6e 78 5f 62 6f 75 6e |define c|onx_boun|
|00002730| 63 65 20 22 20 63 6f 6e | 78 2d 62 6f 75 6e 63 65 |ce " con|x-bounce|
|00002740| 20 22 57 72 69 74 69 6e | 67 20 43 20 63 6f 64 65 | "Writin|g C code|
|00002750| 2e 2e 2e 20 64 6f 6e 65 | 2e 22 5d 20 31 31 5d 20 |... done|."] 11] |
|00002760| 62 6f 75 6e 64 70 20 63 | 6f 6e 78 2d 63 2d 70 72 |boundp c|onx-c-pr|
|00002770| 6f 6c 6f 67 20 22 23 69 | 66 20 5f 5f 53 54 44 43 |olog "#i|f __STDC|
|00002780| 5f 5f 5c 6e 23 69 6e 63 | 6c 75 64 65 20 3c 73 74 |__\n#inc|lude <st|
|00002790| 64 64 65 66 2e 68 3e 5c | 6e 23 69 6e 63 6c 75 64 |ddef.h>\|n#includ|
|000027a0| 65 20 3c 75 6e 69 73 74 | 64 2e 68 3e 5c 6e 65 78 |e <unist|d.h>\nex|
|000027b0| 74 65 72 6e 20 6c 6f 6e | 67 20 72 61 6e 64 6f 6d |tern lon|g random|
|000027c0| 20 28 76 6f 69 64 29 3b | 5c 6e 65 78 74 65 72 6e | (void);|\nextern|
|000027d0| 20 76 6f 69 64 20 73 72 | 61 6e 64 6f 6d 20 28 69 | void sr|andom (i|
|000027e0| 6e 74 29 3b 5c 6e 65 78 | 74 65 72 6e 20 76 6f 69 |nt);\nex|tern voi|
|000027f0| 64 20 61 62 6f 72 74 20 | 28 76 6f 69 64 29 3b 5c |d abort |(void);\|
|00002800| 6e 23 65 6e 64 69 66 5c | 6e 23 69 6e 63 6c 75 64 |n#endif\|n#includ|
|00002810| 65 20 3c 73 74 64 69 6f | 2e 68 3e 5c 6e 23 69 6e |e <stdio|.h>\n#in|
|00002820| 63 6c 75 64 65 20 3c 74 | 69 6d 65 2e 68 3e 5c 6e |clude <t|ime.h>\n|
|00002830| 5c 6e 73 74 72 75 63 74 | 20 63 6f 6e 78 5f 77 6f |\nstruct| conx_wo|
|00002840| 72 64 20 7b 5c 6e 20 20 | 75 6e 73 69 67 6e 65 64 |rd {\n |unsigned|
|00002850| 20 73 68 6f 72 74 20 63 | 6f 75 6e 74 3b 5c 6e 20 | short c|ount;\n |
|00002860| 20 75 6e 73 69 67 6e 65 | 64 20 73 68 6f 72 74 20 | unsigne|d short |
|00002870| 63 61 70 3b 5c 6e 20 20 | 75 6e 73 69 67 6e 65 64 |cap;\n |unsigned|
|00002880| 20 73 68 6f 72 74 20 63 | 6f 6d 6d 61 3b 5c 6e 20 | short c|omma;\n |
|00002890| 20 75 6e 73 69 67 6e 65 | 64 20 73 68 6f 72 74 20 | unsigne|d short |
|000028a0| 70 65 72 69 6f 64 3b 5c | 6e 20 20 75 6e 73 69 67 |period;\|n unsig|
|000028b0| 6e 65 64 20 73 68 6f 72 | 74 20 71 75 65 6d 3b 5c |ned shor|t quem;\|
|000028c0| 6e 20 20 75 6e 73 69 67 | 6e 65 64 20 73 68 6f 72 |n unsig|ned shor|
|000028d0| 74 20 62 61 6e 67 3b 5c | 6e 20 20 75 6e 73 69 67 |t bang;\|n unsig|
|000028e0| 6e 65 64 20 73 68 6f 72 | 74 20 70 72 65 64 3b 5c |ned shor|t pred;\|
|000028f0| 6e 20 20 75 6e 73 69 67 | 6e 65 64 20 73 68 6f 72 |n unsig|ned shor|
|00002900| 74 20 73 75 63 63 3b 5c | 6e 20 20 75 6e 73 69 67 |t succ;\|n unsig|
|00002910| 6e 65 64 20 73 68 6f 72 | 74 20 6e 70 72 65 64 3b |ned shor|t npred;|
|00002920| 5c 6e 20 20 75 6e 73 69 | 67 6e 65 64 20 73 68 6f |\n unsi|gned sho|
|00002930| 72 74 20 6e 73 75 63 63 | 3b 5c 6e 20 20 75 6e 73 |rt nsucc|;\n uns|
|00002940| 69 67 6e 65 64 20 73 68 | 6f 72 74 20 74 65 78 74 |igned sh|ort text|
|00002950| 3b 5c 6e 7d 3b 5c 6e 22 | 20 63 6f 6e 78 2d 63 2d |;\n};\n"| conx-c-|
|00002960| 63 6f 64 65 20 22 23 64 | 65 66 69 6e 65 20 63 6f |code "#d|efine co|
|00002970| 75 6e 74 6f 66 28 78 29 | 20 28 73 69 7a 65 6f 66 |untof(x)| (sizeof|
|00002980| 28 28 78 29 29 20 2f 20 | 73 69 7a 65 6f 66 28 2a |((x)) / |sizeof(*|
|00002990| 28 78 29 29 29 5c 6e 23 | 64 65 66 69 6e 65 20 63 |(x)))\n#|define c|
|000029a0| 6f 6e 78 5f 72 61 6e 64 | 28 6e 29 20 28 72 61 6e |onx_rand|(n) (ran|
|000029b0| 64 6f 6d 28 29 25 28 6e | 29 29 5c 6e 5c 6e 73 74 |dom()%(n|))\n\nst|
|000029c0| 61 74 69 63 20 73 74 72 | 75 63 74 20 63 6f 6e 78 |atic str|uct conx|
|000029d0| 5f 77 6f 72 64 20 2a 5c | 6e 63 6f 6e 78 5f 72 61 |_word *\|nconx_ra|
|000029e0| 6e 64 6f 6d 5f 72 65 6c | 61 74 65 64 20 28 63 6f |ndom_rel|ated (co|
|000029f0| 75 6e 74 2c 20 77 68 69 | 63 68 5f 6c 69 73 74 29 |unt, whi|ch_list)|
|00002a00| 5c 6e 20 20 20 20 20 75 | 6e 73 69 67 6e 65 64 20 |\n u|nsigned |
|00002a10| 73 68 6f 72 74 20 63 6f | 75 6e 74 2c 20 77 68 69 |short co|unt, whi|
|00002a20| 63 68 5f 6c 69 73 74 3b | 5c 6e 7b 5c 6e 20 20 75 |ch_list;|\n{\n u|
|00002a30| 6e 73 69 67 6e 65 64 20 | 73 68 6f 72 74 20 2a 6c |nsigned |short *l|
|00002a40| 69 73 74 20 3d 20 44 20 | 2b 20 77 68 69 63 68 5f |ist = D |+ which_|
|00002a50| 6c 69 73 74 3b 5c 6e 20 | 20 69 6e 74 20 69 20 3d |list;\n | int i =|
|00002a60| 20 30 3b 5c 6e 20 20 75 | 6e 73 69 67 6e 65 64 20 | 0;\n u|nsigned |
|00002a70| 73 68 6f 72 74 20 66 6f | 6c 6c 20 3d 20 28 63 6f |short fo|ll = (co|
|00002a80| 75 6e 74 20 3d 3d 20 30 | 20 3f 20 30 20 3a 20 63 |unt == 0| ? 0 : c|
|00002a90| 6f 6e 78 5f 72 61 6e 64 | 20 28 63 6f 75 6e 74 29 |onx_rand| (count)|
|00002aa0| 29 3b 5c 6e 20 20 77 68 | 69 6c 65 20 28 31 29 5c |);\n wh|ile (1)\|
|00002ab0| 6e 20 20 20 20 7b 5c 6e | 20 20 20 20 20 20 69 66 |n {\n| if|
|00002ac0| 20 28 66 6f 6c 6c 20 3c | 3d 20 6c 69 73 74 20 5b | (foll <|= list [|
|00002ad0| 69 20 2a 20 32 5d 29 5c | 6e 09 7b 5c 6e 09 20 20 |i * 2])\|n.{\n. |
|00002ae0| 69 66 20 28 28 6c 69 73 | 74 20 5b 69 20 2a 20 32 |if ((lis|t [i * 2|
|00002af0| 20 2b 20 31 5d 29 20 3e | 20 63 6f 75 6e 74 6f 66 | + 1]) >| countof|
|00002b00| 20 28 77 6f 72 64 73 29 | 29 5c 6e 09 20 20 20 20 | (words)|)\n. |
|00002b10| 61 62 6f 72 74 20 28 29 | 3b 5c 6e 09 20 20 72 65 |abort ()|;\n. re|
|00002b20| 74 75 72 6e 20 26 77 6f | 72 64 73 20 5b 6c 69 73 |turn &wo|rds [lis|
|00002b30| 74 20 5b 69 20 2a 20 32 | 20 2b 20 31 5d 5d 3b 5c |t [i * 2| + 1]];\|
|00002b40| 6e 09 7d 5c 6e 20 20 20 | 20 20 20 66 6f 6c 6c 20 |n.}\n | foll |
|00002b50| 2d 3d 20 6c 69 73 74 20 | 5b 69 20 2a 20 32 5d 3b |-= list |[i * 2];|
|00002b60| 5c 6e 20 20 20 20 20 20 | 69 2b 2b 3b 5c 6e 20 20 |\n |i++;\n |
|00002b70| 20 20 7d 5c 6e 7d 5c 6e | 5c 6e 73 74 61 74 69 63 | }\n}\n|\nstatic|
|00002b80| 20 73 74 72 75 63 74 20 | 63 6f 6e 78 5f 77 6f 72 | struct |conx_wor|
|00002b90| 64 20 2a 5c 6e 63 6f 6e | 78 5f 72 61 6e 64 6f 6d |d *\ncon|x_random|
|00002ba0| 5f 73 75 63 63 20 28 77 | 6f 72 64 29 5c 6e 20 20 |_succ (w|ord)\n |
|00002bb0| 20 20 20 73 74 72 75 63 | 74 20 63 6f 6e 78 5f 77 | struc|t conx_w|
|00002bc0| 6f 72 64 20 2a 77 6f 72 | 64 3b 5c 6e 7b 5c 6e 20 |ord *wor|d;\n{\n |
|00002bd0| 20 69 66 20 28 77 6f 72 | 64 2d 3e 6e 73 75 63 63 | if (wor|d->nsucc|
|00002be0| 20 3d 3d 20 30 29 5c 6e | 20 20 20 20 72 65 74 75 | == 0)\n| retu|
|00002bf0| 72 6e 20 77 6f 72 64 3b | 5c 6e 20 20 65 6c 73 65 |rn word;|\n else|
|00002c00| 5c 6e 20 20 20 20 7b 5c | 6e 20 20 20 20 20 20 73 |\n {\|n s|
|00002c10| 74 72 75 63 74 20 63 6f | 6e 78 5f 77 6f 72 64 20 |truct co|nx_word |
|00002c20| 2a 6e 65 78 74 20 3d 20 | 63 6f 6e 78 5f 72 61 6e |*next = |conx_ran|
|00002c30| 64 6f 6d 5f 72 65 6c 61 | 74 65 64 20 28 77 6f 72 |dom_rela|ted (wor|
|00002c40| 64 2d 3e 6e 73 75 63 63 | 2c 20 77 6f 72 64 2d 3e |d->nsucc|, word->|
|00002c50| 73 75 63 63 29 3b 5c 6e | 20 20 20 20 20 20 69 66 |succ);\n| if|
|00002c60| 20 28 63 6f 6e 78 5f 72 | 61 6e 64 20 28 63 6f 6e | (conx_r|and (con|
|00002c70| 78 5f 62 6f 75 6e 63 65 | 29 20 21 3d 20 30 29 5c |x_bounce|) != 0)\|
|00002c80| 6e 09 72 65 74 75 72 6e | 20 6e 65 78 74 3b 5c 6e |n.return| next;\n|
|00002c90| 20 20 20 20 20 20 72 65 | 74 75 72 6e 20 63 6f 6e | re|turn con|
|00002ca0| 78 5f 72 61 6e 64 6f 6d | 5f 73 75 63 63 20 28 63 |x_random|_succ (c|
|00002cb0| 6f 6e 78 5f 72 61 6e 64 | 6f 6d 5f 72 65 6c 61 74 |onx_rand|om_relat|
|00002cc0| 65 64 20 28 6e 65 78 74 | 2d 3e 6e 70 72 65 64 2c |ed (next|->npred,|
|00002cd0| 20 6e 65 78 74 2d 3e 70 | 72 65 64 29 29 3b 5c 6e | next->p|red));\n|
|00002ce0| 20 20 20 20 7d 5c 6e 7d | 5c 6e 5c 6e 73 74 61 74 | }\n}|\n\nstat|
|00002cf0| 69 63 20 76 6f 69 64 5c | 6e 63 6f 6e 78 5f 73 65 |ic void\|nconx_se|
|00002d00| 6e 74 65 6e 63 65 20 28 | 29 5c 6e 7b 5c 6e 20 20 |ntence (|)\n{\n |
|00002d10| 73 74 61 74 69 63 20 69 | 6e 74 20 78 20 3d 20 30 |static i|nt x = 0|
|00002d20| 3b 5c 6e 20 20 73 74 72 | 75 63 74 20 63 6f 6e 78 |;\n str|uct conx|
|00002d30| 5f 77 6f 72 64 20 2a 77 | 6f 72 64 20 3d 20 30 3b |_word *w|ord = 0;|
|00002d40| 5c 6e 20 20 69 6e 74 20 | 66 69 72 73 74 5f 70 20 |\n int |first_p |
|00002d50| 3d 20 31 3b 5c 6e 20 20 | 69 6e 74 20 64 6f 6e 65 |= 1;\n |int done|
|00002d60| 20 3d 20 30 3b 5c 6e 20 | 20 69 6e 74 20 63 6f 75 | = 0;\n | int cou|
|00002d70| 6e 74 20 3d 20 30 3b 5c | 6e 20 20 77 68 69 6c 65 |nt = 0;\|n while|
|00002d80| 20 28 21 64 6f 6e 65 29 | 5c 6e 20 20 20 20 7b 5c | (!done)|\n {\|
|00002d90| 6e 20 20 20 20 20 20 69 | 6e 74 20 70 75 6e 63 3b |n i|nt punc;|
|00002da0| 5c 6e 20 20 20 20 20 20 | 63 68 61 72 20 2a 74 65 |\n |char *te|
|00002db0| 78 74 3b 5c 6e 20 20 20 | 20 20 20 69 6e 74 20 4c |xt;\n | int L|
|00002dc0| 3b 5c 6e 20 20 20 20 20 | 20 69 66 20 28 77 6f 72 |;\n | if (wor|
|00002dd0| 64 29 5c 6e 09 77 6f 72 | 64 20 3d 20 63 6f 6e 78 |d)\n.wor|d = conx|
|00002de0| 5f 72 61 6e 64 6f 6d 5f | 73 75 63 63 20 28 77 6f |_random_|succ (wo|
|00002df0| 72 64 29 3b 5c 6e 20 20 | 20 20 20 20 65 6c 73 65 |rd);\n | else|
|00002e00| 5c 6e 09 77 6f 72 64 20 | 3d 20 26 77 6f 72 64 73 |\n.word |= &words|
|00002e10| 20 5b 63 6f 6e 78 5f 72 | 61 6e 64 20 28 63 6f 75 | [conx_r|and (cou|
|00002e20| 6e 74 6f 66 20 28 77 6f | 72 64 73 29 29 5d 3b 5c |ntof (wo|rds))];\|
|00002e30| 6e 20 20 20 20 20 20 63 | 6f 75 6e 74 2b 2b 3b 5c |n c|ount++;\|
|00002e40| 6e 20 20 20 20 20 20 70 | 75 6e 63 20 3d 20 63 6f |n p|unc = co|
|00002e50| 6e 78 5f 72 61 6e 64 20 | 28 77 6f 72 64 2d 3e 63 |nx_rand |(word->c|
|00002e60| 6f 75 6e 74 29 3b 5c 6e | 20 20 20 20 20 20 74 65 |ount);\n| te|
|00002e70| 78 74 20 3d 20 54 20 2b | 20 77 6f 72 64 2d 3e 74 |xt = T +| word->t|
|00002e80| 65 78 74 3b 5c 6e 20 20 | 20 20 20 20 4c 20 3d 20 |ext;\n | L = |
|00002e90| 73 74 72 6c 65 6e 20 28 | 74 65 78 74 29 3b 5c 6e |strlen (|text);\n|
|00002ea0| 20 20 20 20 20 20 69 66 | 20 28 78 20 2b 20 4c 20 | if| (x + L |
|00002eb0| 3e 20 37 30 29 5c 6e 09 | 7b 5c 6e 09 20 20 70 75 |> 70)\n.|{\n. pu|
|00002ec0| 74 63 68 61 72 20 28 27 | 5c 5c 6e 27 29 3b 5c 6e |tchar ('|\\n');\n|
|00002ed0| 09 20 20 78 20 3d 20 30 | 3b 5c 6e 09 7d 5c 6e 20 |. x = 0|;\n.}\n |
|00002ee0| 20 20 20 20 20 78 20 2b | 3d 20 4c 2b 31 3b 5c 6e | x +|= L+1;\n|
|00002ef0| 5c 6e 20 20 20 20 20 20 | 69 66 20 28 66 69 72 73 |\n |if (firs|
|00002f00| 74 5f 70 20 7c 7c 20 28 | 77 6f 72 64 2d 3e 63 6f |t_p || (|word->co|
|00002f10| 75 6e 74 20 3d 3d 20 77 | 6f 72 64 2d 3e 63 61 70 |unt == w|ord->cap|
|00002f20| 29 29 5c 6e 09 7b 5c 6e | 09 20 20 70 75 74 63 68 |))\n.{\n|. putch|
|00002f30| 61 72 20 28 28 2a 74 65 | 78 74 20 3e 3d 20 27 61 |ar ((*te|xt >= 'a|
|00002f40| 27 20 26 26 20 2a 74 65 | 78 74 20 3c 3d 20 27 7a |' && *te|xt <= 'z|
|00002f50| 27 29 20 3f 20 2a 74 65 | 78 74 20 2b 20 28 27 41 |') ? *te|xt + ('A|
|00002f60| 27 2d 27 61 27 29 20 3a | 20 2a 74 65 78 74 29 3b |'-'a') :| *text);|
|00002f70| 5c 6e 09 20 20 66 70 75 | 74 73 20 28 74 65 78 74 |\n. fpu|ts (text|
|00002f80| 2b 31 2c 20 73 74 64 6f | 75 74 29 3b 5c 6e 09 20 |+1, stdo|ut);\n. |
|00002f90| 20 66 69 72 73 74 5f 70 | 20 3d 20 30 3b 5c 6e 09 | first_p| = 0;\n.|
|00002fa0| 7d 5c 6e 20 20 20 20 20 | 20 65 6c 73 65 5c 6e 09 |}\n | else\n.|
|00002fb0| 66 70 75 74 73 20 28 74 | 65 78 74 2c 20 73 74 64 |fputs (t|ext, std|
|00002fc0| 6f 75 74 29 3b 5c 6e 5c | 6e 20 20 20 20 20 20 69 |out);\n\|n i|
|00002fd0| 66 20 28 70 75 6e 63 20 | 3c 20 77 6f 72 64 2d 3e |f (punc |< word->|
|00002fe0| 63 6f 6d 6d 61 29 5c 6e | 09 7b 5c 6e 09 20 20 66 |comma)\n|.{\n. f|
|00002ff0| 70 75 74 73 20 28 5c 22 | 2c 20 5c 22 2c 20 73 74 |puts (\"|, \", st|
|00003000| 64 6f 75 74 29 3b 5c 6e | 09 20 20 78 2b 2b 3b 5c |dout);\n|. x++;\|
|00003010| 6e 09 7d 5c 6e 20 20 20 | 20 20 20 65 6c 73 65 20 |n.}\n | else |
|00003020| 69 66 20 28 28 70 75 6e | 63 20 2d 3d 20 77 6f 72 |if ((pun|c -= wor|
|00003030| 64 2d 3e 63 6f 6d 6d 61 | 29 20 3c 20 77 6f 72 64 |d->comma|) < word|
|00003040| 2d 3e 70 65 72 69 6f 64 | 29 5c 6e 09 7b 5c 6e 09 |->period|)\n.{\n.|
|00003050| 20 20 78 2b 2b 3b 5c 6e | 09 20 20 69 66 20 28 63 | x++;\n|. if (c|
|00003060| 6f 75 6e 74 20 3e 20 31 | 32 30 20 7c 7c 20 63 6f |ount > 1|20 || co|
|00003070| 6e 78 5f 72 61 6e 64 20 | 28 35 29 20 21 3d 20 30 |nx_rand |(5) != 0|
|00003080| 29 5c 6e 09 20 20 20 20 | 7b 5c 6e 09 20 20 20 20 |)\n. |{\n. |
|00003090| 20 20 64 6f 6e 65 20 3d | 20 31 3b 5c 6e 09 20 20 | done =| 1;\n. |
|000030a0| 20 20 20 20 66 70 75 74 | 73 20 28 5c 22 2e 20 20 | fput|s (\". |
|000030b0| 5c 22 2c 20 73 74 64 6f | 75 74 29 3b 5c 6e 09 20 |\", stdo|ut);\n. |
|000030c0| 20 20 20 20 20 78 2b 2b | 3b 5c 6e 09 20 20 20 20 | x++|;\n. |
|000030d0| 7d 5c 6e 09 20 20 65 6c | 73 65 5c 6e 09 20 20 20 |}\n. el|se\n. |
|000030e0| 20 7b 5c 6e 09 20 20 20 | 20 20 20 77 6f 72 64 20 | {\n. | word |
|000030f0| 3d 20 30 3b 5c 6e 09 20 | 20 20 20 20 20 69 66 20 |= 0;\n. | if |
|00003100| 28 63 6f 6e 78 5f 72 61 | 6e 64 20 28 34 29 20 3d |(conx_ra|nd (4) =|
|00003110| 3d 20 30 29 5c 6e 09 09 | 66 70 75 74 73 20 28 5c |= 0)\n..|fputs (\|
|00003120| 22 3a 20 5c 22 2c 20 73 | 74 64 6f 75 74 29 3b 5c |": \", s|tdout);\|
|00003130| 6e 09 20 20 20 20 20 20 | 65 6c 73 65 5c 6e 09 09 |n. |else\n..|
|00003140| 66 70 75 74 73 20 28 5c | 22 3b 20 5c 22 2c 20 73 |fputs (\|"; \", s|
|00003150| 74 64 6f 75 74 29 3b 5c | 6e 09 20 20 20 20 7d 5c |tdout);\|n. }\|
|00003160| 6e 09 7d 5c 6e 20 20 20 | 20 20 20 65 6c 73 65 20 |n.}\n | else |
|00003170| 69 66 20 28 28 70 75 6e | 63 20 2d 3d 20 77 6f 72 |if ((pun|c -= wor|
|00003180| 64 2d 3e 70 65 72 69 6f | 64 29 20 3c 20 77 6f 72 |d->perio|d) < wor|
|00003190| 64 2d 3e 71 75 65 6d 29 | 5c 6e 09 7b 5c 6e 09 20 |d->quem)|\n.{\n. |
|000031a0| 20 64 6f 6e 65 20 3d 20 | 31 3b 5c 6e 09 20 20 66 | done = |1;\n. f|
|000031b0| 70 75 74 73 20 28 5c 22 | 3f 20 20 5c 22 2c 20 73 |puts (\"|? \", s|
|000031c0| 74 64 6f 75 74 29 3b 5c | 6e 09 20 20 78 20 2b 3d |tdout);\|n. x +=|
|000031d0| 20 32 3b 5c 6e 09 7d 5c | 6e 20 20 20 20 20 20 65 | 2;\n.}\|n e|
|000031e0| 6c 73 65 20 69 66 20 28 | 28 70 75 6e 63 20 2d 3d |lse if (|(punc -=|
|000031f0| 20 77 6f 72 64 2d 3e 71 | 75 65 6d 29 20 3c 20 77 | word->q|uem) < w|
|00003200| 6f 72 64 2d 3e 62 61 6e | 67 29 5c 6e 09 7b 5c 6e |ord->ban|g)\n.{\n|
|00003210| 09 20 20 64 6f 6e 65 20 | 3d 20 31 3b 5c 6e 09 20 |. done |= 1;\n. |
|00003220| 20 66 70 75 74 73 20 28 | 5c 22 21 20 20 5c 22 2c | fputs (|\"! \",|
|00003230| 20 73 74 64 6f 75 74 29 | 3b 5c 6e 09 20 20 78 20 | stdout)|;\n. x |
|00003240| 2b 3d 20 32 3b 5c 6e 09 | 7d 5c 6e 20 20 20 20 20 |+= 2;\n.|}\n |
|00003250| 20 65 6c 73 65 5c 6e 09 | 7b 5c 6e 09 20 20 69 66 | else\n.|{\n. if|
|00003260| 20 28 77 6f 72 64 2d 3e | 6e 73 75 63 63 20 3d 3d | (word->|nsucc ==|
|00003270| 20 30 29 5c 6e 09 20 20 | 20 20 7b 5c 6e 09 20 20 | 0)\n. | {\n. |
|00003280| 20 20 20 20 66 70 75 74 | 73 20 28 5c 22 2e 20 20 | fput|s (\". |
|00003290| 5c 22 2c 20 73 74 64 6f | 75 74 29 3b 5c 6e 09 20 |\", stdo|ut);\n. |
|000032a0| 20 20 20 20 20 78 20 2b | 3d 20 32 3b 5c 6e 09 20 | x +|= 2;\n. |
|000032b0| 20 20 20 20 20 64 6f 6e | 65 20 3d 20 31 3b 5c 6e | don|e = 1;\n|
|000032c0| 09 20 20 20 20 7d 5c 6e | 09 20 20 65 6c 73 65 5c |. }\n|. else\|
|000032d0| 6e 09 20 20 20 20 70 75 | 74 63 68 61 72 20 28 27 |n. pu|tchar ('|
|000032e0| 20 27 29 3b 5c 6e 09 7d | 5c 6e 20 20 20 20 7d 5c | ');\n.}|\n }\|
|000032f0| 6e 20 20 69 66 20 28 63 | 6f 6e 78 5f 72 61 6e 64 |n if (c|onx_rand|
|00003300| 20 28 33 29 20 3d 3d 20 | 30 29 5c 6e 20 20 20 20 | (3) == |0)\n |
|00003310| 7b 5c 6e 20 20 20 20 20 | 20 66 70 75 74 73 20 28 |{\n | fputs (|
|00003320| 5c 22 5c 5c 6e 5c 5c 6e | 5c 22 2c 20 73 74 64 6f |\"\\n\\n|\", stdo|
|00003330| 75 74 29 3b 5c 6e 20 20 | 20 20 20 20 78 20 3d 20 |ut);\n | x = |
|00003340| 30 3b 5c 6e 20 20 20 20 | 7d 5c 6e 7d 5c 6e 5c 6e |0;\n |}\n}\n\n|
|00003350| 6d 61 69 6e 20 28 61 72 | 67 63 2c 20 61 72 67 76 |main (ar|gc, argv|
|00003360| 29 5c 6e 20 20 20 20 20 | 69 6e 74 20 61 72 67 63 |)\n |int argc|
|00003370| 3b 5c 6e 20 20 20 20 20 | 63 68 61 72 20 2a 2a 61 |;\n |char **a|
|00003380| 72 67 76 3b 5c 6e 7b 5c | 6e 20 20 75 6e 73 69 67 |rgv;\n{\|n unsig|
|00003390| 6e 65 64 20 69 6e 74 20 | 68 6f 77 6d 61 6e 79 2c |ned int |howmany,|
|000033a0| 20 64 65 6c 61 79 3b 5c | 6e 20 20 63 68 61 72 20 | delay;\|n char |
|000033b0| 64 75 6d 6d 79 3b 5c 6e | 20 20 69 66 20 28 61 72 |dummy;\n| if (ar|
|000033c0| 67 63 20 3d 3d 20 31 29 | 5c 6e 20 20 20 20 7b 5c |gc == 1)|\n {\|
|000033d0| 6e 20 20 20 20 20 20 68 | 6f 77 6d 61 6e 79 20 3d |n h|owmany =|
|000033e0| 20 31 3b 5c 6e 20 20 20 | 20 20 20 64 65 6c 61 79 | 1;\n | delay|
|000033f0| 20 3d 20 30 3b 5c 6e 20 | 20 20 20 7d 5c 6e 20 20 | = 0;\n | }\n |
|00003400| 65 6c 73 65 20 69 66 20 | 28 61 72 67 63 20 3d 3d |else if |(argc ==|
|00003410| 20 32 20 26 26 5c 6e 20 | 20 20 20 20 20 31 20 3d | 2 &&\n | 1 =|
|00003420| 3d 20 73 73 63 61 6e 66 | 20 28 61 72 67 76 5b 31 |= sscanf| (argv[1|
|00003430| 5d 2c 20 5c 22 25 75 64 | 25 63 5c 22 2c 20 26 68 |], \"%ud|%c\", &h|
|00003440| 6f 77 6d 61 6e 79 2c 20 | 26 64 75 6d 6d 79 29 29 |owmany, |&dummy))|
|00003450| 5c 6e 20 20 20 20 64 65 | 6c 61 79 20 3d 20 30 3b |\n de|lay = 0;|
|00003460| 5c 6e 20 20 65 6c 73 65 | 20 69 66 20 28 61 72 67 |\n else| if (arg|
|00003470| 63 20 3d 3d 20 33 20 26 | 26 5c 6e 09 20 20 20 31 |c == 3 &|&\n. 1|
|00003480| 20 3d 3d 20 73 73 63 61 | 6e 66 20 28 61 72 67 76 | == ssca|nf (argv|
|00003490| 5b 31 5d 2c 20 5c 22 25 | 75 64 25 63 5c 22 2c 20 |[1], \"%|ud%c\", |
|000034a0| 26 68 6f 77 6d 61 6e 79 | 2c 20 26 64 75 6d 6d 79 |&howmany|, &dummy|
|000034b0| 29 20 26 26 5c 6e 09 20 | 20 20 31 20 3d 3d 20 73 |) &&\n. | 1 == s|
|000034c0| 73 63 61 6e 66 20 28 61 | 72 67 76 5b 32 5d 2c 20 |scanf (a|rgv[2], |
|000034d0| 5c 22 25 75 64 25 63 5c | 22 2c 20 26 64 65 6c 61 |\"%ud%c\|", &dela|
|000034e0| 79 2c 20 26 64 75 6d 6d | 79 29 29 5c 6e 20 20 20 |y, &dumm|y))\n |
|000034f0| 20 3b 5c 6e 20 20 65 6c | 73 65 5c 6e 20 20 20 20 | ;\n el|se\n |
|00003500| 7b 5c 6e 20 20 20 20 20 | 20 66 70 72 69 6e 74 66 |{\n | fprintf|
|00003510| 20 28 73 74 64 65 72 72 | 2c 20 5c 22 75 73 61 67 | (stderr|, \"usag|
|00003520| 65 3a 20 25 73 20 5b 63 | 6f 75 6e 74 20 5b 64 65 |e: %s [c|ount [de|
|00003530| 6c 61 79 5d 5d 5c 5c 6e | 5c 22 2c 20 61 72 67 76 |lay]]\\n|\", argv|
|00003540| 20 5b 30 5d 29 3b 5c 6e | 20 20 20 20 20 20 65 78 | [0]);\n| ex|
|00003550| 69 74 20 28 31 29 3b 5c | 6e 20 20 20 20 7d 5c 6e |it (1);\|n }\n|
|00003560| 5c 6e 20 20 73 72 61 6e | 64 6f 6d 20 28 74 69 6d |\n sran|dom (tim|
|00003570| 65 20 28 30 29 29 3b 5c | 6e 20 20 69 66 20 28 68 |e (0));\|n if (h|
|00003580| 6f 77 6d 61 6e 79 20 3d | 3d 20 30 29 5c 6e 20 20 |owmany =|= 0)\n |
|00003590| 20 20 68 6f 77 6d 61 6e | 79 20 3d 20 7e 30 3b 5c | howman|y = ~0;\|
|000035a0| 6e 20 20 77 68 69 6c 65 | 20 28 68 6f 77 6d 61 6e |n while| (howman|
|000035b0| 79 20 3e 20 30 29 5c 6e | 20 20 20 20 7b 5c 6e 20 |y > 0)\n| {\n |
|000035c0| 20 20 20 20 20 63 6f 6e | 78 5f 73 65 6e 74 65 6e | con|x_senten|
|000035d0| 63 65 20 28 29 3b 5c 6e | 20 20 20 20 20 20 66 66 |ce ();\n| ff|
|000035e0| 6c 75 73 68 20 28 73 74 | 64 6f 75 74 29 3b 5c 6e |lush (st|dout);\n|
|000035f0| 20 20 20 20 20 20 68 6f | 77 6d 61 6e 79 2d 2d 3b | ho|wmany--;|
|00003600| 5c 6e 20 20 20 20 20 20 | 69 66 20 28 64 65 6c 61 |\n |if (dela|
|00003610| 79 29 20 73 6c 65 65 70 | 20 28 64 65 6c 61 79 29 |y) sleep| (delay)|
|00003620| 3b 5c 6e 20 20 20 20 7d | 5c 6e 20 20 70 75 74 63 |;\n }|\n putc|
|00003630| 68 61 72 20 28 27 5c 5c | 6e 27 29 3b 5c 6e 20 20 |har ('\\|n');\n |
|00003640| 65 78 69 74 20 28 30 29 | 3b 5c 6e 7d 5c 6e 22 5d |exit (0)|;\n}\n"]|
|00003650| 20 32 29 0a 28 66 73 65 | 74 20 27 63 6f 6e 78 2d | 2).(fse|t 'conx-|
|00003660| 65 6d 69 74 2d 63 20 23 | 5b 28 66 69 6c 65 20 26 |emit-c #|[(file &|
|00003670| 6f 70 74 69 6f 6e 61 6c | 20 6e 6f 6e 2d 61 6e 73 |optional| non-ans|
|00003680| 69 2d 70 29 20 22 c0 09 | 21 88 c2 20 88 c3 1c 0d |i-p) "..|!.. ....|
|00003690| 63 88 0e 06 ac 86 c7 c8 | c9 b1 03 88 ca 0e 06 3f |c.......|.......?|
|000036a0| 21 88 0e 0b 63 88 29 65 | 62 87 22 20 5b 66 69 6e |!...c.)e|b." [fin|
|000036b0| 64 2d 66 69 6c 65 20 66 | 69 6c 65 20 65 72 61 73 |d-file f|ile eras|
|000036c0| 65 2d 62 75 66 66 65 72 | 20 74 20 62 75 66 66 65 |e-buffer| t buffe|
|000036d0| 72 2d 75 6e 64 6f 2d 6c | 69 73 74 20 63 6f 6e 78 |r-undo-l|ist conx|
|000036e0| 2d 63 2d 70 72 6f 6c 6f | 67 20 6e 6f 6e 2d 61 6e |-c-prolo|g non-an|
|000036f0| 73 69 2d 70 20 22 5c 6e | 23 69 66 20 21 5f 5f 53 |si-p "\n|#if !__S|
|00003700| 54 44 43 5f 5f 5c 6e 22 | 20 22 65 72 72 6f 72 21 |TDC__\n"| "error!|
|00003710| 20 74 68 69 73 20 66 69 | 6c 65 20 72 65 71 75 69 | this fi|le requi|
|00003720| 72 65 73 20 61 6e 20 41 | 4e 53 49 20 43 20 63 6f |res an A|NSI C co|
|00003730| 6d 70 69 6c 65 72 5c 6e | 22 20 22 23 65 6e 64 69 |mpiler\n|" "#endi|
|00003740| 66 5c 6e 5c 6e 22 20 63 | 6f 6e 78 2d 65 6d 69 74 |f\n\n" c|onx-emit|
|00003750| 2d 63 2d 64 61 74 61 20 | 63 6f 6e 78 2d 63 2d 63 |-c-data |conx-c-c|
|00003760| 6f 64 65 5d 20 33 20 22 | 5c 0a 57 72 69 74 65 20 |ode] 3 "|\.Write |
|00003770| 74 68 65 20 63 75 72 72 | 65 6e 74 20 43 4f 4e 58 |the curr|ent CONX|
|00003780| 20 64 61 74 61 62 61 73 | 65 20 74 6f 20 61 20 66 | databas|e to a f|
|00003790| 69 6c 65 20 61 73 20 43 | 20 73 6f 75 72 63 65 20 |ile as C| source |
|000037a0| 63 6f 64 65 2e 0a 54 68 | 65 20 67 65 6e 65 72 61 |code..Th|e genera|
|000037b0| 74 65 64 20 70 72 6f 67 | 72 61 6d 20 77 69 6c 6c |ted prog|ram will|
|000037c0| 20 68 61 76 65 20 74 68 | 65 20 73 61 6d 65 20 65 | have th|e same e|
|000037d0| 66 66 65 63 74 20 61 73 | 20 4d 2d 78 20 63 6f 6e |ffect as| M-x con|
|000037e0| 78 2c 0a 65 78 63 65 70 | 74 20 74 68 61 74 20 69 |x,.excep|t that i|
|000037f0| 74 20 72 75 6e 73 20 77 | 69 74 68 6f 75 74 20 65 |t runs w|ithout e|
|00003800| 6d 61 63 73 2e 0a 0a 57 | 69 74 68 20 61 20 70 72 |macs...W|ith a pr|
|00003810| 65 66 69 78 20 61 72 67 | 75 6d 65 6e 74 2c 20 77 |efix arg|ument, w|
|00003820| 72 69 74 65 20 4b 26 52 | 20 43 20 69 6e 73 74 65 |rite K&R| C inste|
|00003830| 61 64 20 6f 66 20 41 4e | 53 49 20 43 2e 20 20 41 |ad of AN|SI C. A|
|00003840| 4e 53 49 20 69 73 0a 74 | 68 65 20 64 65 66 61 75 |NSI is.t|he defau|
|00003850| 6c 74 20 62 65 63 61 75 | 73 65 2c 20 77 69 74 68 |lt becau|se, with|
|00003860| 6f 75 74 20 61 20 63 65 | 72 74 61 69 6e 20 41 4e |out a ce|rtain AN|
|00003870| 53 49 20 66 65 61 74 75 | 72 65 2c 20 6c 61 72 67 |SI featu|re, larg|
|00003880| 65 20 64 61 74 61 62 61 | 73 65 73 0a 77 69 6c 6c |e databa|ses.will|
|00003890| 20 6f 76 65 72 66 6c 6f | 77 20 73 74 61 74 69 63 | overflo|w static|
|000038a0| 20 6c 69 6d 69 74 73 20 | 69 6e 20 6d 6f 73 74 20 | limits |in most |
|000038b0| 4b 26 52 20 70 72 65 70 | 72 6f 63 65 73 73 6f 72 |K&R prep|rocessor|
|000038c0| 73 2e 22 20 22 46 57 72 | 69 74 65 20 43 20 66 69 |s." "FWr|ite C fi|
|000038d0| 6c 65 3a 20 5c 6e 50 22 | 5d 29 0a 28 66 73 65 74 |le: \nP"|]).(fset|
|000038e0| 20 27 63 6f 6e 78 2d 73 | 74 61 74 73 20 23 5b 6e | 'conx-s|tats #[n|
|000038f0| 69 6c 20 22 c0 c1 21 71 | 88 65 64 7c 88 c2 c3 0c |il "..!q|.ed|....|
|00003900| 5c 22 88 c5 c6 65 64 23 | 87 22 20 5b 67 65 74 2d |\"...ed#|." [get-|
|00003910| 62 75 66 66 65 72 2d 63 | 72 65 61 74 65 20 22 2a |buffer-c|reate "*|
|00003920| 63 6f 6e 78 2d 73 74 61 | 74 73 2a 22 20 6d 61 70 |conx-sta|ts*" map|
|00003930| 61 74 6f 6d 73 20 23 5b | 28 78 29 20 22 c0 09 21 |atoms #[|(x) "..!|
|00003940| 3f ae 93 c2 c3 09 4a c4 | 48 5c 22 63 88 c5 63 88 |?.....J.|H\"c..c.|
|00003950| c6 09 21 63 88 c7 63 87 | 22 20 5b 62 6f 75 6e 64 |..!c..c.|" [bound|
|00003960| 70 20 78 20 66 6f 72 6d | 61 74 20 22 25 73 22 20 |p x form|at "%s" |
|00003970| 30 20 22 09 09 22 20 73 | 79 6d 62 6f 6c 2d 6e 61 |0 ".." s|ymbol-na|
|00003980| 6d 65 20 22 5c 6e 22 5d | 20 34 5d 20 63 6f 6e 78 |me "\n"]| 4] conx|
|00003990| 2d 77 6f 72 64 73 2d 68 | 61 73 68 74 61 62 6c 65 |-words-h|ashtable|
|000039a0| 20 73 6f 72 74 2d 6e 75 | 6d 65 72 69 63 2d 66 69 | sort-nu|meric-fi|
|000039b0| 65 6c 64 73 20 2d 31 5d | 20 34 5d 29 0a |elds -1]| 4]). |
+--------+-------------------------+-------------------------+--------+--------+