kawa.man 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. .TH KAWA 1
  2. .\" NAME should be all caps, SECTION should be 1-8, maybe w/ subsection
  3. .\" other parms are allowed: see man(7), man(1)
  4. .SH NAME
  5. kawa \- Scheme language implemented using on a Java VM
  6. .SH SYNOPSIS
  7. .B kawa
  8. .I "[options]"
  9. .br
  10. .B java kawa.repl
  11. .I "[options]"
  12. .SH "DESCRIPTION"
  13. This manual page documents briefly the
  14. .BR kawa
  15. package, a Scheme dialect written completely in the Java language.
  16. Scheme forms are compiled into Java bytecodes for efficiency.
  17. Scheme is a high-level non-pure functional language in the Lisp family,
  18. with lexical scoping dynamically-types.
  19. The Kawa dialect of Scheme contains hooks to access and control Java objects.
  20. Using the
  21. .B kawa
  22. script is equivalent to invoking an interpreter of the Java language on the
  23. .B "kawa.repl"
  24. class.
  25. This manual page is just a quick synopsis.
  26. For more information, read the
  27. .BR kawa " manual - see below."
  28. .SH OPTIONS
  29. .TP
  30. .BI "-e " expression
  31. Evaluate the
  32. .IR expression .
  33. .TP
  34. .BI "-c " expression
  35. Evaluate the
  36. .IR expression ,
  37. but does not cause the start-up file
  38. .I ~/.kawarc.scm
  39. to be read.
  40. .TP
  41. .BI "-f " filename
  42. Read and evaluate Scheme commands from the
  43. .IR filename .
  44. .TP
  45. .B -s
  46. Enter an interactive read-evaluate-print command loop.
  47. .TP
  48. .B -w
  49. Enter an interactive read-evaluate-print in a new top-level window.
  50. .TP
  51. .BI "-C " filename
  52. Compile
  53. .IR filename
  54. to one or more Java class files. See the Kawa manual for details.
  55. .P
  56. If no options are specified, it is equivalent to
  57. .BR "-s" "."
  58. .br
  59. GNU
  60. .BR "readline(3)" " can normally be used to edit commands."
  61. .SH FILES
  62. .TP
  63. .B /usr/bin/kawa
  64. The
  65. .B kawa
  66. executable, which starts a
  67. .BR java
  68. interpreter.
  69. .TP
  70. .B ~/.kawarc.scm
  71. Commands that are executed when
  72. .B kawa
  73. is started.
  74. .SH AUTHOR
  75. Per Bothner <per@bothner.com>.
  76. .SH "SEE ALSO"
  77. .BR "info kawa" " - the complete Kawa manual."
  78. .UR "http://www.gnu.org/software/kawa/"
  79. .IR "http://www.gnu.org/software/kawa/"
  80. .UE
  81. - the
  82. .B kawa
  83. home page, based on the same Kawa manual.
  84. .P
  85. .B qexo(1)
  86. - an implementation of XQuery using the same engine.