I just finished making the corrections you suggested:<div><br></div><blockquote class="webkit-indent-blockquote" style="margin: 0 0 0 40px; border: none; padding: 0px;"><a href="http://www.automatous-monk.com/jvmlanguages/abcl/Armed_Bear_Common_Lisp.html">http://www.automatous-monk.com/jvmlanguages/abcl/Armed_Bear_Common_Lisp.html</a><br>
<br></blockquote><div>I also improved the format a lot.</div><div><br></div><div>Would there be any interest in moving this over (or a modified version of this over) to the Armed Bear web site as a start on User Documentation?</div>
<div><br></div><div>Paul</div><div><br></div><div><br><div class="gmail_quote">On Thu, Jul 30, 2009 at 2:48 AM, Alessio Stalla <span dir="ltr"><<a href="mailto:alessiostalla@gmail.com">alessiostalla@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div><div></div><div class="h5"><br>
</div></div>Good work! It's nice to see introductory documentation for abcl.<br>
<br>
Now the (constructive) criticism part :) I found an inaccuracy on<br>
Slide 10, regarding boxing/unboxing of values. Indeed boxing and<br>
unboxing is done automatically by ABCL. In your case, had you wrapped<br>
your ints in Fixnums instead of JavaObjects, you could have used them<br>
directly in Lisp. In general, since the user can't be expected to know<br>
how to map every Java type to Lisp and vice-versa, there are a couple<br>
of nice methods you can use in all cases:<br>
<br>
public static LispObject JavaObject.getInstance(Object, boolean)<br>
converts (or wraps) a Java object to a Lisp object, if the boolean is<br>
true (else it just wraps it in a JavaObject).<br>
<br>
public Object LispObject.javaInstance()<br>
converts (or unwraps) a Lisp object to Java. You can invoke this on<br>
any Lisp object, if it can't be converted, it will be returned as-is.<br><br></blockquote></div></div>