home *** CD-ROM | disk | FTP | other *** search
/ MacFormat 1995 January / macformat-020.iso / Shareware City / Developers / SIOD 3.0 / siod.1 < prev    next >
Encoding:
Text File  |  1994-10-01  |  2.2 KB  |  78 lines  |  [TEXT/ttxt]

  1. .TH SIOD 1C LOCAL 
  2. .SH NAME
  3. siod \- small scheme interpreter (Scheme In One Defun).
  4. .SH SYNOPSIS
  5. .B siod
  6. [-hXXXXX] [-iXXXXX] [-gX] [-oXXXXX] [-nXXXX] [-eXXXX]
  7. .SH DESCRIPTION
  8. .I Siod
  9. is a very small scheme interpreter which can be used for calculations
  10. or included as a command interpreter or extension/macro language in other
  11. applications. See the documentation for interfacing requirements and how to
  12. add user-defined data types.
  13.  
  14. .RE
  15. .SS COMMAND LINE OPTIONS
  16. .TP 8
  17. .BI \-h "XXXXX"
  18. The
  19. .I XXXXX
  20. should be an integer, specifying the number of cons cells to
  21. allocate in the heap. The default is 5000. Or an integer followed by
  22. a colon, the number after which gives the maximum number of heaps to 
  23. malloc with mark and sweep gc mode.
  24. .TP
  25. .BI \-i "XXXXX"
  26. The 
  27. .I XXXXX
  28. should be the name of an init file to load before going into
  29. the read/eval/print loop.
  30. .TP
  31. .BI \-g "X"
  32. The
  33. .I X
  34. is 1 for a stop and copy garbage collector, 0 for a mark
  35. and sweep one (the default).
  36. .TP
  37. .BI \-o "XXXXX"
  38. The
  39. .I XXXXX
  40. should be an integer, specifying the size of the obarray (symbol hash table)
  41. to use. Defaults to 100. Each array element is a list of symbols.
  42. .TP
  43. .BI \-n "XXXXX"
  44. The
  45. .I XXXXX
  46. should be an integer, specifying the number of pre-cons numbers
  47. to create. The default is 100.
  48. .TP
  49. .BI \-s "XXXXX"
  50. The
  51. .I XXXXX
  52. should be an integer, specifying the number of bytes of recursion
  53. on the machine (C-call frame) stack to allow. This may be changed
  54. while the programming is running, and is mainly a convenience for
  55. detecting defects in programs.
  56. .TP
  57. .BI \-e "XXXXX"
  58. The
  59. .I XXXXX
  60. is an expression to evaluate (after loading the init file, if any).
  61. After evaluating the expression the program will exit.
  62.  
  63. .SH FILES
  64. siod.h siod.doc siod.scm slib.c sliba.c siod.c siodp.h trace.c
  65. .PD
  66. .SH SEE ALSO
  67. .I Structure and Interpretation of Computer Programs
  68. , by Abelson and Sussman, MIT Press.
  69. .SH DIAGNOSTICS
  70. Error messages may also set the variable errobj to the offending object.
  71. .SH BUGS
  72. With -g1 it does not GC during EVAL, only before each READ/EVAL/PRINT cycle.
  73. It does GC during EVAL with -g0, but that code may not run without modification
  74. on all architectures.
  75. .SH VERSION
  76. Current version is 3.0, 12-MAR-94, by George Carrette. GJC\@PARADIGM.COM 
  77. GJC\@MITECH.COM
  78.