This is the mail archive of the kawa@sources.redhat.com mailing list for the Kawa project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
I think this might be a bug, but I wanted to make sure that I'm not doing something boneheaded. Using a short Java program (TestKawa.java, attached) which gets an input stream (test-kawa.scm, attached) and executes it, I get NullPointerExceptions when executing a defined macro: rogue:~> java TestKawa java.lang.RuntimeException: invalid syntax in eval form: <unknown>:2:2: evaluating syntax transformer 'test-ds' threw java.lang.NullPointerException at kawa.lang.Eval.evalBody(Eval.java:82) at kawa.lang.Eval.evalBody(Eval.java:38) at kawa.standard.Scheme.eval(Scheme.java:753) at TestKawa.main(TestKawa.java:12) Evaluating the test-kawa.scm in a kawa.repl loop, however, works fine: rogue:~> java kawa.repl test-kawa.scm Done. Any idea what I'm doing wrong?
Attachment:
TestKawa.java
Description: TestKawa.java
Attachment:
test-kawa.scm
Description: test-kawa.scm
-- Stephen L. Peters portnoy@portnoy.org GPG fingerprint: A1BF 5A81 03E7 47CE 71E0 3BD4 8DA6 9268 5BB6 4BBE "Poodle: The other white meat." -- Sherman, Sherman's Lagoon
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |