This is the mail archive of the
kawa@sourceware.org
mailing list for the Kawa project.
Re: GSOC | Extending Common Lisp support
On May 28, 2012, at 6:10 PM, Charles Turner wrote:
Attached is the new PrimOps code (now in CL and called
primitives.lisp).
Looks good, except for some trailing whitespace (a minor pet
peeve of mine)*.
As for declaring the return type of a function, it makes sense
to me to stick to the optional ":: return-type" for now; at some
point we'll need to support ftype declarations (which are the
Lispy way to do it), but that can wait.
I was having difficulties getting the Makefiles to
pick this up, so for the time being I'm compiling it manually using
the Makefile definitions.
I added the following the gnu/commonlisp/lisp/Makefile.am
java_CLISP = primitives.lisp
[...]
EXTRA_DIST = $(java_CLISP) $(java_SCM)
[...]
But after an automake, only PrimOps is getting compiled. Any thoughts
why that's happening?
I'm a total automake noob, so I'll defer to the wisdom of others
for this. When it comes time to check all this stuff into SVN, let's
not forget to make the appropriate changes to build.xml as well.
Thanks,
Charlie.
<primitives.diff>
* Put this in your .emacs to see it:
(setq-default show-trailing-whitespace t)
There's an equivalent setting for Vim, if you're one of Those
People. ;-)
http://stackoverflow.com/questions/4617059/showing-trailing-spaces-in-vim
--
Jamison Hope
The PTR Group
www.theptrgroup.com