KAWA(1)

πŸ“¦ version 3.1.1, in fedora 43, fedora 44, nixos 26.05, nixpkgs unstable

πŸ’– KAWA(1) β€” bestie's guide to kawa πŸ’–

okay so real talk, this is the quick synopsis version of the man page for kawa, living in your friendly neighborhood General Commands Manual. the full tea is in the kawa manual (see SEE ALSO, i got u 🫢).


✨ NAME ✨

kawa β€” a Scheme language implemented using on a Java VM 🌈


πŸŽ€ SYNOPSIS πŸŽ€

kawa [options]
java kawa.repl [options]

πŸ¦‹ DESCRIPTION πŸ¦‹

so this page is a brief rundown of the kawa package, which is a Scheme dialect written completely in the Java language. and the way that it works? Scheme forms get compiled into Java bytecodes, because efficiency is the vibe. periodt. ⭐

Scheme is a high-level, non-pure functional language in the Lisp family, with lexical scoping and dynamic typing. (yes bestie, both, it's giving range.) the Kawa dialect of Scheme also has hooks to access and control Java objects, so it's not just pretty, it's powerful πŸ’…

using the kawa script is literally equivalent to invoking an interpreter of the Java language on the kawa.repl class. same thing, different outfit. πŸ‘‘

this manual page is just a quick synopsis β€” for the real, full lore, read the kawa manual, it's linked below πŸ‘‡


✨ OPTIONS ✨

  • -e expression β€” evaluate the expression. just, like, do the thing. πŸ”₯
  • -c expression β€” evaluate the expression, but it does not cause the start-up file ~/.kawarc.scm to be read. so it's the "don't touch my config" mode πŸ™ˆ
  • -f filename β€” read and evaluate Scheme commands from filename. feed it a file, it eats πŸ“
  • -s β€” enter an interactive read-evaluate-print command loop. the classic REPL experience, we love her πŸ’–
  • -w β€” enter an interactive read-evaluate-print in a new top-level window. REPL but make it a whole new window ✨
  • -C filename β€” compile filename to one or more Java class files. see the Kawa manual for the details, i'm not gatekeeping but that's where the deets live πŸ“š

if you specify no options at all, it's equivalent to -s. and GNU readline(3) can normally be used to edit commands, so your arrow keys and history are safe 🫢


🌸 FILES 🌸

  • /usr/bin/kawa β€” the kawa executable, which starts a java interpreter. the main character πŸ’…
  • ~/.kawarc.scm β€” commands that are executed when kawa is started. your lil startup ritual πŸŽ€

πŸ‘‘ AUTHOR πŸ‘‘

Per Bothner <per@bothner.com>. legend behavior, no cap.


🌈 SEE ALSO 🌈

  • info kawa β€” the complete Kawa manual. the full unhinged lore drop πŸ“–
  • http://www.gnu.org/software/kawa/ β€” the kawa home page, based on the same Kawa manual.
  • qexo(1) β€” an implementation of XQuery using the same engine. sibling energy 🧚

okay that's the whole page bestie, mwah πŸ’œ this was the KAWA(1) page from the General Commands Manual, page 1 of 1, and that's a wrap βœ¨πŸŽ€

πŸ“¦ where this page comes from