MiniSCHEMETribute.txt 3.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. TinyScheme would not exist if it wasn't for MiniScheme. I had just
  2. written the HTTP server for Ovrimos SQL Server, and I was lamenting the
  3. lack of a scripting language. Server-side Javascript would have been the
  4. preferred solution, had there been a Javascript interpreter I could
  5. lay my hands on. But there weren't. Perl would have been another solution,
  6. but it was probably ten times bigger that the program it was supposed to
  7. be embedded in. There would also be thorny licencing issues.
  8. So, the obvious thing to do was find a trully small interpreter. Forth
  9. was a language I had once quasi-implemented, but the difficulty of
  10. handling dynamic data and the weirdness of the language put me off. I then
  11. looked around for a LISP interpreter, the next thing I knew was easy to
  12. implement. Alas, the LeLisp I knew from my days in UPMC (Universite Pierre
  13. et Marie Curie) had given way to Common Lisp, a megalith of a language!
  14. Then my search lead me to Scheme, a language I knew was very orthogonal
  15. and clean. When I found Mini-Scheme, a single C file of some 2400 loc, I
  16. fell in love with it! What if it lacked floating-point numbers and
  17. strings! The rest, as they say, is history.
  18. Below are the original credits. Don't email Akira KIDA, the address has
  19. changed.
  20. ---------- Mini-Scheme Interpreter Version 0.85 ----------
  21. coded by Atsushi Moriwaki (11/5/1989)
  22. E-MAIL : moriwaki@kurims.kurims.kyoto-u.ac.jp
  23. THIS SOFTWARE IS IN THE PUBLIC DOMAIN
  24. ------------------------------------
  25. This software is completely free to copy, modify and/or re-distribute.
  26. But I would appreciate it if you left my name on the code as the author.
  27. This version has been modified by R.C. Secrist.
  28. Mini-Scheme is now maintained by Akira KIDA.
  29. This is a revised and modified version by Akira KIDA.
  30. current version is 0.85k4 (15 May 1994)
  31. Please send suggestions, bug reports and/or requests to:
  32. <SDI00379@niftyserve.or.jp>
  33. Features compared to MiniSCHEME
  34. -------------------------------
  35. All code is now reentrant. Interpreter state is held in a 'scheme'
  36. struct, and many interpreters can coexist in the same program, possibly
  37. in different threads. The user can specify user-defined memory allocation
  38. primitives. (see "Programmer's Reference")
  39. The reader is more consistent.
  40. Strings, characters and flonums are supported. (see "Types")
  41. Files being loaded can be nested up to some depth.
  42. R5RS I/O is there, plus String Ports. (see "Scheme Reference","I/O")
  43. Vectors exist.
  44. As a standalone application, it supports command-line arguments.
  45. (see "Standalone")
  46. Running out of memory is now handled.
  47. The user can add foreign functions in C. (see "Foreign Functions")
  48. The code has been changed slightly, core functions have been moved
  49. to the library, behavior has been aligned with R5RS etc.
  50. Support has been added for user-defined error recovery.
  51. (see "Error Handling")
  52. Support has been added for modular programming.
  53. (see "Colon Qualifiers - Packages")
  54. To enable this, EVAL has changed internally, and can
  55. now take two arguments, as per R5RS. Environments are supported.
  56. (see "Colon Qualifiers - Packages")
  57. Promises are now evaluated once only.
  58. (macro (foo form) ...) is now equivalent to (macro foo (lambda(form) ...))
  59. The reader can be extended using new #-expressions
  60. (see "Reader extensions")