Are there any modes or resources for Kawa in Emacs? I've checked, but am not able to find any. Mostly, I'd like to be able to run a Kawa REPL inside of Emacs, but some kind of completion/syntax checking would be great too.
I don't have any prior experience with Kawa, but I have a "universal" way to deal with REPLs: plugin isend + some hacks
Follow the instructions in section 2 and section 3 of this article http://wenshanren.org/?p=351#sec-2 to setup isend (it's a bit tedious, please let me know if you have any problems)
Open a shell in Emacs, assume the buffer name is *shell*
M-x shell
Open Kawa REPl in *shell*
CLASSPATH=/usr/local/lib/kawa.jar && export CLASSPATH && java kawa.repl
Create a new buffer test.kawa and turn on lisp-mode M-x lisp-mode
(you can use any mode you want)
Associate *shell*
with test.kawa M-x isend-associate *shell*
Now type some sexps in test.kawa, select them and press C-Enter
to send them *shell*
for execution (the cursor won't move)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With