Tree @690e34aa-ddc7-405e-8b38-c78430646ef8/main (Download .tar.gz)
- debian
- alist.scm
- alist.txi
- alistab.scm
- ANNOUNCE
- array.scm
- array.txi
- arraymap.scm
- arraymap.txi
- batch.scm
- Bev2slib.scm
- bigloo.init
- break.scm
- byte.scm
- byte.txi
- bytenumb.scm
- bytenumb.txi
- ChangeLog
- chap.scm
- chap.txi
- charplot.scm
- chez.init
- cie1931.xyz
- cie1964.xyz
- ciesia.dat
- ciesid65.dat
- clrnamdb.scm
- cltime.scm
- coerce.scm
- coerce.txi
- collect.scm
- collectx.scm
- color.scm
- color.txi
- colornam.scm
- colornam.txi
- colorspc.scm
- comlist.scm
- comparse.scm
- comparse.txi
- configure
- COPYING
- crc.scm
- cring.scm
- cvs.scm
- cvs.txi
- daylight.scm
- daylight.txi
- db2html.scm
- db2html.txi
- dbcom.scm
- dbinterp.scm
- dbrowse.scm
- dbsyn.scm
- dbutil.scm
- dbutil.txi
- debug.scm
- defmacex.scm
- determ.scm
- determ.txi
- dft.scm
- dft.txi
- differ.scm
- differ.txi
- dirs.scm
- dirs.txi
- dwindtst.scm
- dynamic.scm
- dynwind.scm
- elk.init
- eval.scm
- factor.scm
- factor.txi
- FAQ
- fdl.texi
- fluid-let.scm
- fluidlet.scm
- format.scm
- format.texi
- formatst.scm
- gambit.init
- genwrite.scm
- getopt.scm
- getparam.scm
- getparam.txi
- glob.scm
- glob.txi
- grapheps.ps
- grapheps.scm
- grapheps.txi
- guile-2.init
- guile.init
- guile.use
- hash.scm
- hashtab.scm
- hashtab.txi
- html4each.scm
- html4each.txi
- htmlform.scm
- htmlform.txi
- http-cgi.scm
- http-cgi.txi
- indexes.texi
- iso8601.scm
- iso8601.txi
- jscheme.init
- kawa.init
- limit.scm
- limit.texi
- lineio.scm
- lineio.txi
- linterp.scm
- linterp.txi
- logical.scm
- macrotst.scm
- macscheme.init
- macwork.scm
- Makefile
- manifest.scm
- manifest.txi
- matfile.scm
- matfile.txi
- math-integer.scm
- math-integer.txi
- math-real.scm
- mbe.scm
- minimize.scm
- minimize.txi
- mitscheme.init
- mkclrnam.scm
- mkclrnam.txi
- mklibcat.scm
- mkpltcat.scm
- modular.scm
- modular.txi
- mulapply.scm
- mularg.scm
- mwdenote.scm
- mwexpand.scm
- mwsynrul.scm
- mzscheme.init
- nbs-iscc.txt
- ncbi-dna.scm
- ncbi-dna.txi
- null.scm
- obj2str.scm
- obj2str.txi
- object.scm
- object.texi
- paramlst.scm
- peanosfc.scm
- peanosfc.txi
- phil-spc.scm
- phil-spc.txi
- pnm.scm
- pnm.txi
- pp.scm
- ppfile.scm
- prec.scm
- printf.scm
- priorque.scm
- priorque.txi
- process.scm
- promise.scm
- pscheme.init
- psxtime.scm
- qp.scm
- queue.scm
- queue.txi
- r4rsyn.scm
- randinex.scm
- randinex.txi
- random.scm
- random.txi
- ratize.scm
- ratize.txi
- rdms.scm
- README
- recobj.scm
- record.scm
- repl.scm
- require.scm
- resenecolours.txt
- rmdsff.scm
- rmdsff.txi
- root.scm
- RScheme.init
- s7.init
- saturate.txt
- sc2.scm
- sc4opt.scm
- sc4sc3.scm
- scaexpp.scm
- scaglob.scm
- scainit.scm
- scamacr.scm
- scanf.scm
- scaoutp.scm
- scheme2c.init
- scheme48.init
- schmooz.scm
- schmooz.texi
- scm.init
- scmacro.scm
- scsh.init
- selfset.scm
- sierpinski.scm
- simetrix.scm
- sisc.init
- slib.1
- slib.doc
- SLIB.ico
- slib.info
- slib.nsi
- slib.sh
- slib.spec
- slib.texi
- solid.scm
- solid.txi
- sort.scm
- soundex.scm
- srfi-1.scm
- srfi-1.txi
- srfi-11.scm
- srfi-2.scm
- srfi-23.scm
- srfi-39.scm
- srfi-61.scm
- srfi-8.scm
- srfi-9.scm
- srfi.scm
- srfi.txi
- stdio.scm
- STk.init
- strcase.scm
- strport.scm
- strsrch.scm
- structure.scm
- subarray.scm
- subarray.txi
- syncase.sh
- synchk.scm
- synclo.scm
- synrul.scm
- t3.init
- Template.scm
- timecore.scm
- timezone.scm
- top-refs.scm
- top-refs.txi
- trace.scm
- transact.scm
- transact.txi
- tree.scm
- tree.txi
- trnscrpt.scm
- tsort.scm
- tsort.txi
- tzfile.scm
- umbscheme.init
- uri.scm
- uri.txi
- values.scm
- version.txi
- vet.scm
- vet.txi
- vscm.init
- withfile.scm
- wttree-test.scm
- wttree.scm
- xml-parse.scm
- xml-parse.txi
- yasyn.scm
syncase.sh @690e34aa-ddc7-405e-8b38-c78430646ef8/main — raw · history · blame
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 | #! /bin/sh -e echo Cleaning up old version and unpacking original ... rm -fr syntax-case gzip --decompress --stdout syntax-case.tar.z | tar xf - cd syntax-case echo Removing some files ... rm *.ps loadpp.ss hooks* # Remove enormous amount (about 200k) of white space in expand.pp echo Slimming expand.pp ... sed -e '/^ */s///' expand.pp > tt; mv tt expand.pp echo Patching ... patch -s -b .ORIG << 'PATCH' --- ./expand.pp.ORIG Wed Mar 24 19:54:52 1993 +++ ./expand.pp Wed Mar 24 19:54:52 1993 @@ -337,9 +337,10 @@ '() (lambda (e maps) (regen e))))) (ellipsis? (lambda (x) -(if (if (top-level-bound? 'dp) dp #f) -(break) -(void)) +;; I dont know what this is supposed to do, and removing it seemed harmless. +;; (if (if (top-level-bound? 'dp) dp #f) +;; (break) +;; (void)) (if (identifier? x) (free-id=? x '...) #f))) @@ -1674,7 +1675,7 @@ (set! generate-temporaries (lambda (ls) (arg-check list? ls 'generate-temporaries) -(map (lambda (x) (wrap (gensym) top-wrap)) ls))) +(map (lambda (x) (wrap (new-symbol-hook "g") top-wrap)) ls))) (set! free-identifier=? (lambda (x y) (arg-check id? x 'free-identifier=?) --- ./expand.ss.ORIG Thu Jul 2 13:56:19 1992 +++ ./expand.ss Wed Mar 24 19:54:53 1993 @@ -564,7 +564,8 @@ (define ellipsis? (lambda (x) - (when (and (top-level-bound? 'dp) dp) (break)) + ;; I dont know what this is supposed to do, and removing it seemed harmless. + ;; (when (and (top-level-bound? 'dp) dp) (break)) (and (identifier? x) (free-id=? x (syntax (... ...)))))) @@ -887,7 +888,7 @@ ;; gensym (lambda (ls) (arg-check list? ls 'generate-temporaries) - (map (lambda (x) (wrap (gensym) top-wrap)) ls))) + (map (lambda (x) (wrap (new-symbol-hook "g") top-wrap)) ls))) (set! free-identifier=? (lambda (x y) --- ./macro-defs.ss.ORIG Thu Jul 2 12:28:49 1992 +++ ./macro-defs.ss Wed Mar 24 19:55:31 1993 @@ -161,26 +161,3 @@ (syntax-case x () ((- e) (gen (syntax e) 0)))))) -;;; simple delay and force; also defines make-promise - -(define-syntax delay - (lambda (x) - (syntax-case x () - ((delay exp) - (syntax (make-promise (lambda () exp))))))) - -(define make-promise - (lambda (thunk) - (let ([value (void)] [set? #f]) - (lambda () - (unless set? - (let ([v (thunk)]) - (unless set? - (set! value v) - (set! set? #t)))) - value)))) - -(define force - (lambda (promise) - (promise))) - PATCH test $# -gt 0 && exit 0 rm *.ORIG ############################################################################### echo Renaming globals ... CR=' ' SEDCMD='s/list\*/syncase:list*/g' for x in \ build- void andmap install-global-transformer eval-hook error-hook \ new-symbol-hook put-global-definition-hook get-global-definition-hook \ expand-install-hook; do SEDCMD=$SEDCMD$CR"s/$x/syncase:$x/g"; done WARN=";;; This file was munged by a simple minded sed script since it left ;;; its original authors' hands. See syncase.doc for the horrid details. " for f in *.pp *.ss; do mv $f tt; (echo "$WARN"; sed -e "$SEDCMD" tt) >$f; rm tt; done echo Making the doc file ... DOC=syncase.doc cp ../$DOC . for f in Notes ReadMe; do echo " ******************************************************************************* The file named $f in the original distribution: " cat $f rm $f done >>$DOC echo " ******************************************************************************* The shell script that created these files out of the original distribution: " >>$DOC cat ../fixit >>$DOC echo Renaming files ... mv compat.ss sca-comp.scm mv output.ss scaoutp.scm mv init.ss scaglob.scm mv expand.pp scaexpp.scm mv expand.ss sca-exp.scm mv macro-defs.ss scamacr.scm mv structure.ss structure.scm echo Adding new pieces ... cp ../sca-init.scm scainit.scm echo Done. |