Two questions about running kawa.repl

Jesse Farrell pingouin21@netscape.net
Mon Nov 5 21:15:00 GMT 2012


1) It's been a couple of years since I've used Kawa, and, while 
starting up kawa.repl from the command line (I'm using a download of 
the binary -- 1.12 -- jar), was greeted by a Swing REPL.  Is there any 
command option to suppress this, and just use my xterm?

2) While running the Swing REPL, I got this:

#|kawa:29|# (java.net.URL 
"http://feeds.bbci.co.uk/news/england/rss.xml";)
/dev/stdin:29:1: warning - no known slot 
'//feeds.bbci.co.uk/news/england/rss.xml' in java.lang.Object
/dev/stdin:29:1: warning - no declaration seen for http
/dev/stdin:29:1: unbound location http
    at gnu.mapping.Location.get(Location.java:67)
    at atInteractiveLevel$39.run(stdin:29)
    at gnu.expr.ModuleExp.evalModule2(ModuleExp.java:299)
    at gnu.expr.ModuleExp.evalModule(ModuleExp.java:200)
    at kawa.Shell.run(Shell.java:279)
    at kawa.Shell.run(Shell.java:194)
    at kawa.Shell.run(Shell.java:175)
    at kawa.ReplDocument$2.apply0(ReplDocument.java:97)
    at gnu.mapping.RunnableClosure.run(RunnableClosure.java:78)
    at gnu.mapping.Future.run(Future.java:44)
#|"---:30|#

(And note that it thinks the String arg doesn't have a closing 
double-quote.)

2a) The behaviour in #2 is the same as:

#|kawa:35|# http://feeds.bbci.co.uk/news/england/rss.xml
/dev/stdin:35:1: warning - no known slot 
'//feeds.bbci.co.uk/news/england/rss.xml' in java.lang.Object
/dev/stdin:35:1: warning - no declaration seen for http
/dev/stdin:35:1: unbound location http
    at gnu.mapping.Location.get(Location.java:67)
    at atInteractiveLevel$46.run(stdin:35)
    at gnu.expr.ModuleExp.evalModule2(ModuleExp.java:299)
    at gnu.expr.ModuleExp.evalModule(ModuleExp.java:200)
    at kawa.Shell.run(Shell.java:279)
    at kawa.Shell.run(Shell.java:194)
    at kawa.Shell.run(Shell.java:175)
    at kawa.ReplDocument$2.apply0(ReplDocument.java:97)
    at gnu.mapping.RunnableClosure.run(RunnableClosure.java:78)
    at gnu.mapping.Future.run(Future.java:44)

...except for the "missing" closing quote.


Have I missed something?


== Jesse



More information about the Kawa mailing list