This is the mail archive of the kawa@sourceware.cygnus.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]

two bugs and a buggy patch


Hi, this is a little problem i experienced

#|kawa:2|# (make-record-type 'lispy-name '(a b))
Exception in thread "main" java.lang.ClassFormatError: lispy-name
(Illegal Class name "lispy-name")

This patch fix only class creation... the idea is to mangle the names
when accessing instances too.

file Record.java
----------------
6a7
> import gnu.expr.Compilation;
148a150
>     name=Compilation.mangleName(name);
169c171
<       clas.addField(pair.car.toString(), Type.pointer_type,
Access.PUBLIC);
---
>       clas.addField(Compilation.mangleName(pair.car.toString()), Type.pointer_type, Access.PUBLIC);


Another problem with quasiquoting.

#|kawa:1|# ,a
gnu.mapping.UnboundSymbol: Unbound symbol unquote
        at gnu.mapping.Environment.getChecked(Compiled Code)
        at kawa.standard.ScmEnv.getChecked(Compiled Code)
        at gnu.expr.ReferenceExp.eval(Compiled Code)
        at gnu.expr.ApplyExp.eval(Compiled Code)
        at gnu.expr.ModuleExp.evalModule(Compiled Code)
        at kawa.Shell.run(Compiled Code)
        at kawa.Shell.run(Compiled Code)
        at kawa.Shell.run(Compiled Code)
        at kawa.repl.main(Compiled Code)

-- 
	(--cafe babe--) 
Marco Vezzoli	marco.vezzoli@st.com
CR&D Intranet Developement   STMicroelectronics
tel. +39 039 603 6852 fax. +39 039 603 5055

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]