news.txt 40 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900
  1. -*- Mode: Indented-text; -*-
  2. Recent changes to Scheme 48.
  3. 05/07/04 (version 1.1)
  4. Additions
  5. Added Enum-sets (which are in big/enum-set.scm along with their struct).
  6. Added SRFIs 25, 26, 27, 28, 31, 37, 42.
  7. Added documentation for the thread system.
  8. Added documentation for numerous other libraries.
  9. Added structure definition for LU-DECOMPOSITIONS.
  10. Added Hilbert vectors to the regular build.
  11. Changes:
  12. DUP, DUP-SWITCHING-MODE, and DUP2 now takes ports as arguments, as
  13. the manual says, instead of channels.
  14. Added a 'start' index argument to the Posix regular-expression matcher
  15. (this is an incompatible change).
  16. BLOCK and MAKE-READY are no longer exported by the thread package.
  17. Use the MAYBE-COMMIT-AND-... versions instead.
  18. Placeholders now use the commit mechanism instead of disabling
  19. interrupts.
  20. lock.scm has been moved from rts/ to big/ because the S48 system no
  21. longer uses them.
  22. The old SORT library has been replaced by Olin Shiver's
  23. collection of sort libraries. (The SORT structure retains
  24. its old interface.)
  25. It's possible to quote filenames for , commands.
  26. Notable bug fixes:
  27. Locks and placeholders work correctly.
  28. INEXACT->EXACT now works on exact numbers and vice versa.
  29. LETREC is now compiled correctly.
  30. CALL-WITH-VALUES now works correctly for the
  31. one-return-value case.
  32. SRFI 0 now exports MAP, FOR-EACH, MEMBER, and ASSOC.
  33. Blocking threads are held onto via cells to allow terminated threads
  34. to be summarily removed. MAYBE-COMMIT-AND-BLOCK is passed this cell
  35. as an argument. This fixes a race condition in the blocking
  36. mechanism. Also as a result of this, locks etc. use regular queues
  37. instead of thread-queues.
  38. Package mutation code now knows that structure clients may be either
  39. packages or structures (found and fixed by Martin Gasbichler).
  40. c/write-barrier.h has been renamed c/scheme48write-barrier.h (a
  41. change) and added to the list of include files that are installed
  42. (it is #include'd by scheme48.h which was already being
  43. installed).
  44. INTEGER? now works correctly on floats.
  45. The sources can now be compiled by a C++ compiler.
  46. Numerous minor type issues in the C code were fixed.
  47. Some GC problems with the POSIX code were fixed.
  48. The SRFI 5 implementation now conforms to the specification.
  49. Channels closed by CALL-WITH-{INPUT,OUTPUT}-FILE through GC
  50. no longer cause a mesage to be printed.
  51. 10/7/01 (version 1.0)
  52. Bug fixes:
  53. Fixed a problem with the debug data for LETREC environments.
  54. Null output ports now marked as output ports.
  55. Command reader now checks that , is followed by a symbol.
  56. Got rid of 'return <value>;' in void functions in vm/*.c files.
  57. Changes:
  58. The byte-code architecture has been changed. It no longer has
  59. dedicated registers for the template and environment. All values
  60. are now accessed via the stack pointer.
  61. Image writer now uses hash tables instead of breaking hearts. This
  62. allows for more careful construction of the image files and means
  63. that having static areas no longer prevents writing images.
  64. Continuations no longer have headers when on the stack, making
  65. non-tail calls a little bit faster.
  66. Removed the unused PORT-LOCKED? from ports.
  67. Made for less duplication of code between the VM and RTS: put the
  68. continuation offsets into vm/arch.scm, moved some code around so
  69. that vm/data.scm could be used by the RTS, the interface definitions
  70. for vm/arch.scm and vm/data.scm are now shared.
  71. The VM's stack pointer (*stack*) now points to the top value on the
  72. stack instead of the unused location just above.
  73. The VM files are now in organized into subdirectories.
  74. The interrupt and stack overflow checks have been merged into a
  75. single test. Calls are a little bit faster.
  76. 7/15/01 (version 0.57)
  77. Additions:
  78. Added a SYSTEM procedure that calls the C system() function
  79. (in structure c-system-function).
  80. Added SRFIs 11, 13, 14, 16, 17, and 23.
  81. Bug fixes:
  82. Removed duplicate definitions of S48_{ENTER|EXTRACT}_BOOLEAN
  83. from c/scheme48.h.
  84. Fixed a problem in lookup_record() in c/posix/proc.c that was
  85. causing crashes.
  86. Added scheme/srfi to the list of directories that get installed.
  87. Zeroed sockaddr structs in c/unix/socket.c.
  88. Added configuration tests for socklen_t.
  89. Marked DEFINE-RECORD-TYPE as syntax in the SRFI-9 interface.
  90. Fixed (another) bug in s48-shorten-bignum.
  91. Fixed off-by-one error that caused one resumer record to be
  92. ignored when writing out images.
  93. Fixed problem with macros expanding into uses of finite types.
  94. Added a handler for the TIME opcode to take care of any arithmetic
  95. overflow.
  96. 5/30/01 (version 0.56)
  97. Bug fixes:
  98. Fixed problems with s48-shorten-bignum that were causing crashes.
  99. Patched PreScheme compiler so that the VM would compile (how did
  100. this not get noticed earlier?).
  101. Added scheme/posix to the list of directories that get installed.
  102. Replaced sa.sa_action = ... with sa.sa_handler = ... in
  103. c/posix/proc.c.
  104. Added one-argument version of ATAN.
  105. Fixed macro-defining-macro bug that showed up in SLIB's FLUID-LET.
  106. SLEEP checks that its argument is a positive real number and
  107. correctly handles rationals and inexacts.
  108. Fixed a few typos in the manual.
  109. 5/21/01 (version 0.55)
  110. Additions:
  111. The inspector is more efficient in dealing with large vectors, long
  112. lists and circular lists.
  113. Bug fixes:
  114. Added an error handler to command-levels.scm to avoid bad interaction
  115. between ,break-on-warnings and the handler-raised undefined-variables
  116. warning.
  117. Fixed endless recursion occuring when loading floatnums after
  118. creating inexact rationals.
  119. Made ,reset throw away the old value stack
  120. build/filenames.scm now loads the interface files so we no longer get
  121. the plethora of "undefined variable" warnings.
  122. The flat-environment optimizer is now idempotent.
  123. Fixed a problem with single-argument receivers as in
  124. (call-with-values ... (lambda (x) ...))
  125. Minor edits to the documentation.
  126. Fixed a problem that occured when (optimize auto-integrate)
  127. was used in the presence of definition-producing macros.
  128. Changes to the socket code to work around an oddity in FreeBSD.
  129. Added the os-{...-}name functions to the Posix interface.
  130. The socket code uses socklen_t instead of ints in the appropriate
  131. places (the configure script defines socklen_t if necessary).
  132. (thanks to Martin Gasbichler).
  133. Changes:
  134. Replaced all uses of FLUID-SET! with fluids bound to cells.
  135. Renamed WRITE-ONE-LINE (which did nothing of the sort) to
  136. LIMIT-OUTPUT; the old name is still there for compatibility.
  137. Added vertical tab (ascii->char 11) to ascii-whitespaces to make
  138. our definition of whitespace the same as POSIX's.
  139. The procedures in the records and records-internal structures are
  140. now in three structures: 'records' has the low-level, vector-like
  141. primitives, 'record-types' has everything relating to the type
  142. records, and 'records-internal' has the leftovers.
  143. Removed many of the uses of STRUCTURE-REF (because the manual
  144. doesn't mention it).
  145. 3/20/01 (version 0.54)
  146. Additions:
  147. SET and UNSET commands for modifying switch values. The following
  148. commands are now obsolete (but still work): batch, bench,
  149. break-on-warnings, form-preferred, and levels.
  150. Support for some SRFIs.
  151. Support for some Posix functionality.
  152. Functional interface to Posix regular expression matching.
  153. ITERATE and REDUCE macros for writing loops.
  154. Much of the documentation is now in a single manual (doc/manual.ps
  155. or doc/html/manual.html).
  156. MODIFY added to the module language for interface mangling.
  157. LETREC-CLOSURE opcode for LETREC's when using flat environments.
  158. OUTPUT-PORT-READY? in I/O is CHAR-READY? for output ports.
  159. Deletions:
  160. Removed misc/syscall.scm and misc/getenv.scm. Use the posix calls
  161. instead.
  162. Removed the .notify rule.
  163. Changes:
  164. Bignums are now handled in C code borrowed from MITScheme (thanks
  165. to Martin Gasbichler).
  166. Replaced ,levels <i> with ,reset <i> and added ,resume <i>.
  167. The command interpreter loads ,OPENed packages without asking.
  168. Do `,set ask-before-loading' to get the old behavior.
  169. The command interpreter no longer prints out the names of files
  170. and modules being loaded. Do `,unset load-silently' to get the
  171. old behavior.
  172. The command interpreter has changed in a number of other ways.
  173. See the manual.
  174. Changed misc/either.scm to use fluid variables and replaced (init)
  175. with (with-nondeterminism <thunk>). Moved the sources to
  176. big/either.scm and the structure definition to more-packages.scm.
  177. Moved the programming-environment packages out of more-packages.scm
  178. and into env-packages.scm. more-packages.scm was getting too large.
  179. Modified the opt/analyzer.scm code to get CADR to inline.
  180. The last-resort condition handler now uses DEBUG-MESSAGE to print,
  181. in the hope that it will be more robust this way. The message
  182. is a bit more wordy as well.
  183. CHAR-READY? no longer causes any characters to be read from OS
  184. ports.
  185. Bug fixes:
  186. The flat-environment optimizer can now handle large environments.
  187. Removed command-interpreter's saved focus values from the stack
  188. to keep them from being captured by call/cc.
  189. The code in misc/pipe.scm works again.
  190. Changed variable `errno' in c/unix/misc.c to something that does
  191. not conflict with glibc.
  192. Fixed (lambda () (define x 1) (define y 2)) bug.
  193. Added Mike Sperber's more generalized alt/ fixes.
  194. Fixed definition of S48_SET_CAR() and friends in c/scheme48.h.
  195. Added EINTR checks to more of the system calls.
  196. Made macro-defining SYNTAX-RULES macros work.
  197. 2/24/99 (version 0.53)
  198. Additions:
  199. DEFINE-FINITE-TYPE and DEFINE-ENUMERATED-TYPE (in structure
  200. FINITE-TYPES; documented in doc/utilities.ps and
  201. doc/html/utilities.html.
  202. Added CHAR-SOURCE->INPUT-PORT, CHAR-SOURCE->OUTPUT-PORT,
  203. MAKE-STRING-OUTPUT-PORT, STRING-OUTPUT-SOURCE-OUTPUT to
  204. the extended-ports structure.
  205. The structure BYTE-VECTORS is the same as CODE-VECTORS with `byte'
  206. replacing `code' in all the names. The underlying datatype is the
  207. same for both, and uses `byte' when printing.
  208. There is a new and much improved interface to C code, thanks to
  209. Mike Sperber. It is documented in in doc/external.ps and
  210. doc/html/external.html.
  211. Bug fixes:
  212. Session-data and user-context records are no longer in the fluid env.
  213. Lexical environments can now be nested up to 65k deep.
  214. ,expand no longer prints `definition in expression context' warnings.
  215. Added ARRAY? and SEARCH-TREE? to the array and search tree structures.
  216. Flat environments work again.
  217. Templates of the form `var ... ...' now work in syntax rules.
  218. Reinstated caching of SCHEMIFY results to greatly reduce the space
  219. used by debugging info.
  220. Added argument checking to STRING->NUMBER and NUMBER->STRING.
  221. Fixed space blow-up in LOAD.
  222. Unused ports are closed more reliably.
  223. Changes:
  224. The heap, gc, and image code is now in three separate modules.
  225. The symbol table is now held in a VM register.
  226. Inlined SHOWING-FOCUS-VALUES into the main command loop and moved
  227. the sentinel call to reduce the noise at the base of ,preview output.
  228. The tables returned by MAKE-TABLE now use EQV? for comparison (instead
  229. of EQ?). This makes these tables about 50% slower when numbers are
  230. used as keys, but significantly more accurate.
  231. Floating-point numbers are no longer double boxed.
  232. 7/22/98 (version 0.52)
  233. Bug fixes:
  234. Fixed problems with unbound variables in SET! and the inliner.
  235. Made macro expansion a bit less eager; this should reduce the amount
  236. of heap space needed for compilation.
  237. 6/29/98 (version 0.51)
  238. Incompatible changes:
  239. BIG-SCHEME no longer exports its version of DEFINE-RECORD-TYPE (but
  240. it is available from the structure DEFRECORD). I am slowly removing
  241. all uses of this version of DEFINE-RECORD-TYPE from the sources.
  242. The version of DEFINE-RECORD-TYPE exported by DEFINE-RECORD-TYPES
  243. checks that every constructor argument corresponds to a field.
  244. Uses of LAP must list their free variables (see env/assem.scm).
  245. Changes:
  246. The functions exported by BIG-SCHEME that were not available elsewhere
  247. are now exported by BIG-UTIL as well.
  248. MAKE-RANDOM now checks its argument (but is still a fairly poor
  249. source of pseudo-randomness).
  250. SIGPIPE no longer kills the S48 process (this was done earlier but
  251. not listed here).
  252. The macro/module/compiler code has been reorganized. Hopefully
  253. the only noticable difference is in the babble written when loading
  254. files and packages.
  255. Added CODE-QUOTE (in its own structure of the same name) for use
  256. in writing hygienic macro-generating macros. CODE-QUOTE is the
  257. same as QUOTE except that it does not strip off any of the macro
  258. system's name annotations.
  259. The FLOATNUMS package now exports FLOATNUM?.
  260. Bug fixes:
  261. Fixed phony stack-overflow bug.
  262. Fixed a bug in thread time-debit mechanism.
  263. Made floating point numbers always print as inexact.
  264. Got rid of bogus type-error warnings when using floatnums.
  265. Fixed declaration of call_startup_procedure in c/main.c.
  266. 2/11/98 (version 0.50)
  267. Fixed bug in closed-compiled version of READ-CHAR.
  268. Fixed negative-key bug in integer tables.
  269. 11/18/97 (version 0.49)
  270. Removed some non-portable Kali code that had been accidentally
  271. included in c/extension.c.
  272. 10/29/97 (version 0.48)
  273. The VM's calling convention now has the caller doing protocol checking,
  274. instead of the callee. The *NARGS* register no longer exists.
  275. Scheme's variable-arity procedures (APPLY, MAKE-VECTOR, +, -, etc.)
  276. are usually handled without raising an exception. Calls with an
  277. `atypical' number of arguments are now much faster.
  278. Opcodes were added for >, <=, and >=.
  279. Procedures can take up to about 8k arguments. The limit is determined
  280. by the value of AVAILABLE-STACK-SPACE in scheme/vm/arch.scm.
  281. Compiler detects wrong number of arguments in ((lambda ...) ...).
  282. Removed the dynamic point from the dynamic environment to make
  283. DYNAMIC-WIND behave reasonably with threads.
  284. KILL-THREAD! should work more reliably.
  285. The I/O primitives now pass OS error messages to the exception handlers.
  286. I/O errors when flushing buffers no longer crash the system.
  287. The Pre-Scheme compiler's hack for shadowing global variables with
  288. local copies is no longer used.
  289. Incompatible changes:
  290. The internal thread interface was simplified.
  291. There are some architecture changes; .image files will have to
  292. be rebuilt.
  293. ACCESS-SCHEME-48 and scheme/misc/slib-init.scm have been removed
  294. (thanks to Mike Sperber's updating of slib).
  295. 1/27/97 (version 0.47)
  296. Fixed ,exit and added ,exit-when-done.
  297. CASE now uses EQV? exclusively.
  298. 11/5/96 (version 0.46)
  299. Fixed a few minor thread problems.
  300. opt/analyze.scm now writes to current-noise-port.
  301. DELQ and DELETE now delete every instance, as the documentation claims.
  302. There should be no more spurious heap-overflow interrupts.
  303. Fixed bugs that caused the system to die if stdout blocked.
  304. Template offsets have been increased to two bytes.
  305. Disassembly of flat-lambda now works (fix from Michael Sperber).
  306. 8/23/96 (version 0.45)
  307. Fixed various problems with thread termination and nested schedulers.
  308. Changed thread-internal interface to make schedulers easier to write.
  309. BITWISE-{AND,IOR,XOR} now take an arbitrary number of arguments.
  310. Output ports have their buffers flushed when Scheme 48 terminates.
  311. In keeping with RnRS, CLOSE-{IN,OUT}PUT-PORT are now idempotent.
  312. MODULO now handles negative arguments properly.
  313. 6/20/96 (version 0.44)
  314. The VM's byte-code interpreter and storage management code are
  315. now compiled to separate C files.
  316. The socket code works again.
  317. 5/10/96 (version 0.42-0.43)
  318. Various fixes to the thread and I/O systems.
  319. The Unix interface code is more portable.
  320. EOF (control-D) now resumes running all non-broken threads on
  321. resumed command level. Thus EOF after a keyboard interrupt
  322. (control-C) resumes running the interrupted thread.
  323. 11/30/95 (version 0.41)
  324. The distribution has been reorganized to reduce the number of files
  325. in the top-level directory.
  326. The threads implementation has been replaced with one based on engines
  327. to allow for nested schedulers.
  328. Threads are now included in the initial image.
  329. The I/O system has been fixed and automatic periodic output buffer
  330. flushing has been reinstalled.
  331. Command levels have been integrated with the threads system to ensure
  332. that at most one REPL is active at any time.
  333. CONDVAR has been changed to PLACEHOLDER (condition variables being
  334. something quite different).
  335. ,profile no longer works, it will be fixed in a later version.
  336. MIN and MAX now do inexact contagion.
  337. 4/13/95 (version 0.40)
  338. Renamed error-output-port to current-error-port.
  339. Reinstated ".gdbinit"...
  340. segment->template now takes parent templates debug data as an
  341. argument.
  342. Automatic periodic output buffer flushing has been
  343. temporarily disabled. A future version of the I/O system
  344. will fix it.
  345. Fixed expansion of named LET.
  346. The bummed-define-record-types structure is now gone; use
  347. define-record-types instead.
  348. There is somewhat better syntax checking now.
  349. 8/12/94 (versions 0.38-0.39)
  350. ,profile <command> prints out profiling information
  351. An interrupt is raised after every GC; the default handler checks
  352. to see if some reasonable amount of storage was reclaimed.
  353. Some of the standard Scheme procedures, including LENGTH, FOR-EACH,
  354. VECTOR, and ASSQ, are now significantly faster.
  355. Making, accessing, and setting records is faster.
  356. tar file now includes the top-level directory
  357. The "scheme-level-2-internal" structure has been renamed to
  358. "usual-resumer".
  359. ` ( . ' is now illegal (as required by the R4RS grammar).
  360. Made DELAY and FORCE comply with R4RS.
  361. The EXPAND optimizer does a topological sort on definitions.
  362. (optimize flat-environments) causes the compiler to produce
  363. flat (instead of nested) lexical environments.
  364. The I/O system has been rewritten to do its own buffering. There
  365. are significant changes to unix.c to support this. See doc/io.txt.
  366. (ERROR-OUTPUT) is now available from the structure i/o.
  367. jar-defrecord has been replaced with a modified bummed-jar-defrecord
  368. Files load about 25% faster, for a number of reasons.
  369. Removed the copy of vm/arch.scm from the rts directory.
  370. Threads and sockets work together; SOCKET-ACCEPT no longer blocks.
  371. The compiler no longer prints out .'s as it compiles definitions.
  372. 7/5/94 (version 0.37)
  373. I/O opcodes now raise an interrupt instead of blocking (they still
  374. block if no corresponding interrupt handler has been installed).
  375. The threads code has been rewritten; threads that block on I/O
  376. do not busy wait and THREAD-READ-CHAR and THREAD-PEEK-CHAR have
  377. been removed.
  378. Attempting to obtain a lock twice or to release an unowned lock
  379. now signal errors.
  380. READ-CHAR-WITH-TIMEOUT returns #F if the timeout occurs.
  381. The socket structure is back in more-packages.scm.
  382. Renamed .gdbinit to gdbinit
  383. tar file now contains a top-level directory
  384. 3/22/94 (version 0.36)
  385. Removed doc/lsc.ps for copyright reasons.
  386. Fixed (* 47123 46039) multiply bug.
  387. Modified vm/README to make it easier to run the VM.
  388. 3/16/94 (version 0.35)
  389. Fixed (exact->inexact 0.1) -> 0..1. bug.
  390. Fixed VM bug that permitted the creation of stored objects with
  391. negative sizes.
  392. 3/8/94 (version 0.34)
  393. "make check" target tests out various features.
  394. Fixes for SGI IRIX 4.0.5 and MIPS RISC/OS 4.51, courtesy
  395. Bryan O'Sullivan.
  396. debug/run.scm and the "medium system" work again now.
  397. misc/static.scm should work on the 68000.
  398. Command processor no longer fluid-binds (interaction-environment)
  399. on recursive entry.
  400. 2/24/94 (version 0.33)
  401. Fixed bug in VM's interrupt system.
  402. Made non-local srcdir work in Makefile.
  403. Added (load-package 'bigbit) to vm/README.
  404. 2/23/94 (version 0.32)
  405. Some incompatible changes to the VM; .image files will have
  406. to be rebuilt.
  407. Improvements to configuration script and to unix.c to support
  408. a wider variety of Unixes. The system should now work
  409. under any Posix-compliant Unix (except maybe for
  410. char-ready?; see comments in unix.c).
  411. Upped the default heap size from 4 meg (2 per semispace) to 6
  412. meg (3 per semispace).
  413. New command line argument -s <size> for specifying size of
  414. stack buffer. Default is 2500 (words).
  415. $@ -> "$@" in script (thanks to Paul Stodghill for this fix).
  416. Obscure interrupt/exception VM bug fixed.
  417. It is now possible to put an initial heap image into static
  418. memory (effectively allocated by OS process creation).
  419. Immutable initial objects go into static read-only memory,
  420. and mutable initial objects go into static read-write
  421. memory. Initial objects not copied by the GC. There is no
  422. documentation yet, but look at the rules for little and
  423. debug/little.o in the Makefile if you're interested.
  424. 2/13/94 (version 0.31)
  425. Incompatible changes:
  426. In interfaces, all exported syntactic keywords must be
  427. given type :syntax. For example,
  428. (define-interface my-macros
  429. (export (my-macro :syntax) ...))
  430. Image entry procedures for the ,build command are now
  431. passed a list of strings, not just a single string, for
  432. the command line arguments following -a.
  433. The names of the macros defined in scheme48.h
  434. (pairp, car, string_length, etc.) are now all upper case.
  435. New "configure" script generates Makefile from Makefile.in
  436. and sysdep.h from sysdep.h.in (thanks to Gnu autoconf).
  437. See INSTALL and doc/install.txt.
  438. Bug fixes:
  439. Can now make vectors (strings, etc.) as big as the amount
  440. of heap space available (but you're still screwed if you
  441. try to make one bigger than 2^23-1 bytes - don't do it).
  442. Non-ANSI-ness fixed in scheme48vm.c (jump out of, then
  443. back into, a block expected block-local variables to be
  444. unchanged).
  445. Fixed big/external.scm (had VECTOR-POSQ instead of ENUM).
  446. In (define-syntax foo bar) you got an error if bar was a
  447. variable reference.
  448. Plugged a storage leak (file-environments table in
  449. env/debug.scm). Images made with ,build were too large.
  450. Flushed extraneous delay from make-reflective-tower.
  451. Renamed variables in Makefile to resemble Gnu standards.
  452. Fixed definition of LINKER_RUNNABLE in Makefile.
  453. Added doc/call-back.txt.
  454. Fixed define-enumerated documentation (doc/big-scheme.txt).
  455. Environment maps no longer retained for things in initial.image
  456. and scheme48.image. This makes scheme48.image about 170K
  457. smaller.
  458. 2/3/94 (version 0.30)
  459. Faster EXPT.
  460. FLOATNUMS improvement: (inexact->exact <float>) should now
  461. work, e.g.
  462. (inexact->exact (/ 1. 3.)) => 6004799503160661/18014398509481984
  463. Reinstated ACCESS-SCHEME-48 for the benefit of PSD (portable
  464. scheme debugger) and a certain other software package that
  465. shall remain nameless. It only knows about a small number of
  466. procedures, including things like ERROR and FORCE-OUTPUT.
  467. Various changes to support the Pre-Scheme compiler, notably
  468. SET-REFLECTIVE-TOWER-MAKER!.
  469. Incompatible change to the ENUMERATED structure: the names
  470. foo/bar no longer become defined. Write (enum foo bar)
  471. instead. This will macro expand into the correct small
  472. integer.
  473. 1/30/94 (version 0.29)
  474. Fixed ps_run_time() to call sysconf() to find out how many
  475. ticks there are per second. It used to assume 60. This
  476. affects the output of the ,time command, so don't try
  477. comparing numbers from this version with numbers from older
  478. versions.
  479. ,time command will now accept a command, e.g.
  480. ,time ,load foo.scm.
  481. It appears that if multiple arguments follow -a on the
  482. argument line, they are concatenated together with spaces
  483. separating them and passed to the startup procedure. I
  484. don't know how long this has worked. This will change in
  485. the future so that the startup procedure gets a list of
  486. strings.
  487. Installed what used to be called the GENERAL-TABLES structure
  488. as the TABLES structure used by the system. This allows
  489. the use of other comparison predicates besides EQ?, and
  490. eliminates some code that had a restrictive copyright
  491. notice.
  492. ENUM, NAME->ENUMERAND, and ENUMERAND->NAME are all macros.
  493. Enumerated types themselves are now macros as well.
  494. 1/23/94 Fixed bad multiplication bug in VM: (* 214760876 10) was
  495. returning 125112.
  496. Moved RECORD-TYPE? and RECORD-TYPE-FIELD-NAMES from the
  497. RECORDS-INTERNAL interface to the RECORDS interface, for
  498. a somewhat closer approximation to MIT Scheme.
  499. Various type system improvements.
  500. Still no documentation for the ,exec package, but see
  501. link/load-linker.exec for an example.
  502. New generic function feature, exported by the METHODS
  503. interface (see interfaces.scm), almost like in a certain
  504. dynamic object-oriented language.
  505. 1/11/94 (version 0.27)
  506. Change:
  507. The isomorphism used by CHAR->INTEGER and INTEGER->CHAR is
  508. no longer ASCII. This change was introduced in order to
  509. assist the development of portable programs. If you need
  510. ASCII encoding, you should open the ASCII structure and
  511. use the procedures CHAR->ASCII and ASCII->CHAR.
  512. Features:
  513. The help system is somewhat improved.
  514. New form DEFINE-STRUCTURE defines a single structure.
  515. Incompatible changes to package system:
  516. Renamed DEFINE-PACKAGE to DEFINE-STRUCTURES
  517. Renamed DEFINE-STRUCTURE to DEFINE
  518. Renamed all the base types from FOO to :FOO. E.g.
  519. :SYNTAX, :VALUE, :PAIR, etc.
  520. Other:
  521. Removed socket support due to restrictive copyright on some
  522. of the C code that was in extension.c.
  523. 12/21/93 ,take has been flushed in favor of ,exec ,load. Commands are
  524. now accessed via a distinguished package instead of a table.
  525. Documentation pending.
  526. Postscript (.ps) files now included in doc/ subdirectory. (I
  527. thought they had been there all along, but apparently I was
  528. wrong.)
  529. Enhanced, but still kludgey, floating point support. Use
  530. ,open floatnum.
  531. 12/12/93 (version 0.26)
  532. NetBSD port.
  533. Hacked write-level and write-depth for inspecting circular
  534. structure.
  535. Recursive FORCEs signal errors, e.g.
  536. (force (letrec ((loser (delay (force loser)))) loser))
  537. 12/7/93 (version 0.25)
  538. Bug fix:
  539. filenames.make can now be remade using initial.image. This
  540. means that you can snarf a distribution and then edit
  541. USUAL-FEATURES before making scheme48.image.
  542. 12/6/93 Incompatible changes:
  543. Change of terminology: "signature" --> "interface".
  544. This means that DEFINE-SIGNATURE is now called
  545. DEFINE-INTERFACE, etc.
  546. Some structures have been renamed:
  547. condition -> conditions
  548. continuation -> continuations
  549. exception -> exceptions
  550. queue -> queues
  551. port -> ports
  552. record -> records, record-internal -> records-internal
  553. table -> tables
  554. template -> templates
  555. The ,load-into command has been removed. Use ,in ... ,load
  556. instead (see below), e.g.
  557. ,in mumble ,load myfile.scm
  558. The heap size for -h is specified in words, not bytes. As
  559. before, the size must account for both semispaces; -h 2n
  560. means n words per semispace. This change was actually
  561. made a while ago, but I was confused as to what it meant.
  562. Bug fixes:
  563. #e1.7 reads as 17/10, (exact? 1+1.0i) => #f, and 1.0+i prints.
  564. Features:
  565. Things like ((structure-ref scheme if) 1 2 3) work.
  566. The following commands now take arbitrary commands to execute
  567. in the specified package, not just forms:
  568. ,config ,user ,for-syntax ,in <package>
  569. For example, you can say
  570. ,in mumble ,trace foo
  571. This subsumes the functionality of the ,load-into and
  572. ,load-config commands.
  573. Dynamic loading of shared libraries for System V systems
  574. (untested).
  575. Documentation:
  576. Somewhat improved. user-guide.txt now lists most of the
  577. interesting built-in packages. lsc.ps is a draft of "A
  578. Tractable Scheme Implementation," a paper submitted to Lisp
  579. and Symbolic Computation. See also doc/big-scheme.txt,
  580. doc/thread.txt, and doc/external.txt.
  581. 10/30/93 LET-SYNTAX and LETREC-SYNTAX.
  582. Arrays (see big/array.scm).
  583. Lots of internal changes.
  584. 7/20/93 Features:
  585. Type system. See doc/types.txt.
  586. 7/4/93 Features:
  587. New define-package clause (for-syntax <clause>*).
  588. E.g. (define-package ((my-package ...))
  589. (open ...)
  590. (for-syntax (open scheme my-utilities)
  591. (files more-crud-for-syntax))
  592. ...)
  593. A file name to package map is now used by the emacs
  594. interface. Whenever you load a file, or zap from a file that
  595. hasn't been previously loaded or zapped, the package in
  596. which forms are being evaluated is remembered in a table.
  597. The next time you zap some forms from the same file, they
  598. will be evaluated in that package.
  599. Sometimes you may get an association you don't want. In that
  600. situation, you can use the ,forget command to delete an
  601. entry in the table.
  602. A new ,push command goes to a deeper command level.
  603. Experimental "command preferred" command processor mode: if
  604. you give the command ",form-preferred off", commands will
  605. be "preferred" to forms, meaning that you don't need to
  606. type a comma before giving a command. To see the value
  607. of a variable FOO you have to say (begin foo).
  608. Experimental "no levels" command processor mode: if you
  609. give the command ",levels off", then an error will not
  610. push a new command level. If you want to ignore an
  611. error, you don't need to take any action - further
  612. evaluations will happen at top level. If you want to
  613. enter the inspector or get a preview, you can issue these
  614. commands or a ,push command immediately after the error
  615. occurs (more precisely, any time until the focus object
  616. is set by some other command).
  617. All of the mode-control commands (batch, bench,
  618. break-on-warnings, form-preferred, and levels) take
  619. an optional argument. When no argument is given, they
  620. will toggle the corresponding mode. With an argument of
  621. ON or OFF, they turn the mode on or off.
  622. The ,flush and ,keep commands have been made more flexible
  623. and verbose.
  624. 6/18/93 Incompatible changes:
  625. The access-scheme48 procedure has gone away. Use ,open
  626. or the module system instead.
  627. The user, configuration, and for-syntax packages no longer
  628. have variables bound to them in the configuration package.
  629. Where previously you said: Now you should say:
  630. ,in user <form> ,user <form>
  631. ,in config <form> ,config <form>
  632. ,in for-syntax <form> ,for-syntax <form>
  633. ,load-into config <file> ,load-config <file>
  634. ,load-into for-syntax <file> ,for-syntax (load "file")
  635. Features:
  636. There is an ,expand <form> command for debugging macros.
  637. The ,open command takes any number of structure names, and opens
  638. them all (like ,new-package).
  639. New procedure DEFINE-INDENTATION exported by the PP structure.
  640. E.g. (define-indentation 'let-fluid 1) is like Gnu emacs's
  641. (put 'let-fluid 'scheme-indent-hook 1).
  642. The inspector simplifies generated names in continuation
  643. source code display. E.g. when formerly it said
  644. "Waiting for (#{Generated lambda} () (x->node (car exps)))"
  645. now it says
  646. "Waiting for (lambda () (x->node (car exps)))"
  647. Macros can signal syntax errors by returning input expression
  648. unchanged. (Comparison uses EQ?.)
  649. Documentation:
  650. The doc/ directory contains a draft of a "Scheme 48
  651. Progress Report."
  652. Cleanup:
  653. Procedure NULL-TERMINATE added to structure EXTERNALS's
  654. signature.
  655. "Vulgar Scheme" renamed to "Big Scheme".
  656. Two new subdirectories, env/ (for programming environment)
  657. and big/ (for Big Scheme), now contain most of what was
  658. in the misc/ directory.
  659. Several source files that were in the top level and link/
  660. directories have moved to the env/ and alt/ directories.
  661. 5/6/93 Bug fixes:
  662. Fixed -h command line switch. The size was being improperly
  663. divided by 4, so if you asked for an N megabyte heap, you'd
  664. actually only get an N/4 megabyte heap.
  665. Nested backquotes were broken for a while; should be fixed
  666. now.
  667. Features:
  668. Quoted structure is read-only: e.g. (set-car! '(a b) 3) will
  669. produce an exception.
  670. ,config [<form>] and ,user [<form>] are like ,in <struct> <form>.
  671. Unix socket support; see misc/socket.scm.
  672. Now using gzip instead of compress for distributions.
  673. ,open command offers to load packages.
  674. A .gdbinit file sets a breakpoint at CM's exception raising
  675. code, and defines a handy "preview" command.
  676. 1/18/93 Feature:
  677. Scheme 48 distributions now have version numbers. The
  678. version number is printed in the image startup message.
  679. Please include it in bug reports.
  680. The module system is now documented. See doc/module.tex.
  681. 12/17/92 Bug fixes:
  682. Macro templates of the form (x ... y) are supported.
  683. Macro templates are now less fussy about meta-variable
  684. rank: you can do "(x y) ..." even when the rank of either
  685. x or y (but not both) is too low; the low-ranking text
  686. will be copied as many times as necessary. (A
  687. meta-variable's "rank" is the number of ...'s it sits
  688. under in the left-hand side of the rewrite rule.)
  689. SYNTAX-RULES is now itself hygienic. This means you can
  690. have a meta-variable named CAR, for instance.
  691. New development environment features:
  692. Commands now start with comma (",") instead of colon
  693. (":"). (Easier to type since it's not shifted.)
  694. values, call-with-values, dynamic-wind, eval,
  695. interaction-environment, and scheme-report-environment
  696. added per upcoming Revised^5 Scheme report. See
  697. doc/meeting.tex.
  698. Modifications to quoted structure will now be detected and
  699. reported as errors.
  700. An interrupt will occur if an insufficient amount of memory
  701. is reclaimed by a garbage collection.
  702. Inspector now accepts arbitrary command processor commands
  703. (with or without leading comma)
  704. ,keep command controls retention of debugging information.
  705. Features removed:
  706. #\page and #\tab. These aren't in the Scheme report.
  707. Their absence in Scheme 48 will encourage portability.
  708. access-scheme48 works with fewer names than before. Use the
  709. package system instead.
  710. Complex numbers not in the system, by default. Get them
  711. back by changing usual-features in more-packages.scm.
  712. Features changed:
  713. Many changes to package system. See doc/module.tex.
  714. The :identify-image command is gone. Instead, supply a
  715. second argument (optional) to the ,dump command.
  716. The inspector's TEM command has been shortened to T.
  717. Internal changes and features:
  718. Stored objects types are now part of the virtual machine
  719. architecture, i.e. known to the byte-code compiler.
  720. Run-time system is split up into many little modules.
  721. File names are retained in debug database. (But not used for
  722. anything yet...)
  723. Tweaks to table package reduce standard image size by 50K
  724. and increase compiler speed by 7%.
  725. Immutability bit in object headers.
  726. Weak pointers.
  727. 7/18/92 Features removed:
  728. Table package's default hash function no longer supports
  729. string, pairs, or vectors.
  730. 7/9/92 Bug fixes:
  731. (- 0 -536870912)
  732. Inspector now uses command i/o ports instead of current ones
  733. Inexact integers print as N. instead of #iN
  734. Throwing back into a call-with-....put-port now produces a
  735. warning instead of an error
  736. Feature fixes:
  737. In DEFINE-PACKAGE, OPEN no longer implies ACCESS.
  738. misc/receive.scm renamed to rts/values.scm, made to conform
  739. with Revised^5 Report, and installed internally.
  740. Features:
  741. New :load-package command. Uses file names in (file ...) clause
  742. of a define-package. These are interpreted relative to the
  743. directory in which the file containing the define-package
  744. was found.
  745. #\tab and #\page now print this way.
  746. 6/17/92 Bug fixes:
  747. Fixed bug in modulo.
  748. Flushed LAST-PAIR (which disappeared between R^3 and R^4).
  749. DEFINE-SYNTAX and SYNTAX-RULES now exist.
  750. CEILING, FLOOR, and ROUND now exist.
  751. GCD and LCM are now n-ary.
  752. STRING-CI=? and STRING-COPY fixed.
  753. STRING->SYMBOL now copies its argument before handing it to
  754. INTERN.
  755. =, <, etc. now work with more than two arguments.
  756. CHAR-READY? exists.
  757. Calls via APPLY are now tail-recursive.
  758. DISPLAY of vectors and lists works (ugh).
  759. Development environment improvements:
  760. Type ? at inspector to get list of inspector commands.
  761. Inspector D command goes to next continuation.
  762. Inspector M command shows more of a long menu.
  763. Inspector TEM command goes to a continuation's or closure's
  764. template.
  765. For closures and continuations, inspector displays local
  766. variables with their names.
  767. For continuations, inspector displays source code for
  768. expression into which control will return.
  769. Multiple command loop levels. EOF (control-D) now only pops
  770. out a single level. :reset pops all the way out. :level n
  771. goes out to level n.
  772. Can disable benchmark mode.
  773. Procedures made with (let ((f (lambda ...))) ...) now print
  774. with names.
  775. Features:
  776. Package system: special forms define-package and package-ref;
  777. command processor commands :set-package, :load-into,
  778. :clear-package, :new-package, :export, :open-package, etc.
  779. In misc directory: threads, queues, extended ports, format, etc.
  780. Changes to system environment:
  781. user-initial-environment -> user-package
  782. record-updator -> record-modifier
  783. primitive-throw superseded by with-continuation
  784. ash -> arithmetic-shift
  785. New bootstrap regime.
  786. Support for threads: alarm clock interrupt, etc.
  787. Etc.:
  788. Liberal COPYRIGHT file, and a little notice in each source file.
  789. INSTALL and NEWS split off from README.
  790. doc.txt renamed to user-guide.txt.
  791. The Makefile now provides two ways to make "s48" for
  792. installation. One depends on the exec #! script execution
  793. feature and the other doesn't.
  794. "make" targets for testsys.image and little.image.
  795. Runs Jaffer's test suite and library.
  796. Flushed s48.el. Use cmuscheme instead.
  797. 9/5/90 Command processor argument parser revamped.
  798. :load, :trace, and :untrace commands take arbitrary number
  799. of arguments. Argument to :proceed is optional.
  800. New (but undocumented) :identify-image command.
  801. Better error messages: wrong number of arguments, undefined
  802. variable.
  803. +, *, min, max, apply are now n-ary; -, /, make-string,
  804. make-vector, read-char, peek-char, write-char have
  805. appropriate argument optionality.
  806. Better internal support for macros; not yet ready for release.
  807. Added STRING as per R^3.99RS.
  808. More testing of Scheme version of bytecode interpreter.
  809. Better scoping of ##; files can't see command processor context.
  810. OR and CASE don't cons closures.
  811. VM checks for non-existent heap image file, gives error
  812. message instead of "bus error".
  813. Numerous internal changes in compiler and exception system.
  814. Fixed char<?.
  815. Fixed -.5 bug in string->number.
  816. 8/26/90 Tested (link-system) inside of T; seems to work.
  817. Benchmark mode available via :BENCH command.
  818. System is 15K bigger due to new fatter global environment
  819. representations.
  820. Inspector abbreviation improved.
  821. Disassembler now works on continuations, sort of.
  822. 7/26/90 ((lambda ...) ...) no longer makes a closure
  823. Features now in default system:
  824. :inspect
  825. :dis[assemble]
  826. Generic arithmetic: bignums, rationals, complexes
  827. rationalize
  828. :time command is more verbose
  829. MOREFILES variable in Makefile for loading extra stuff
  830. Default heap size increased to 2 megabytes per semispace