http://wiki.alu.org/Metaobject_Protocol
And there is an introduction on Dr. Dobb's
http://www.ddj.com/architect/200000266
Enjoy,
Tom
http://citeseer.ist.psu.edu/paepcke93userlevel.html
got me started. Very fluid intro paper with examples.
What's that problem?
Pascal
--
My website: http://p-cos.net
Common Lisp Document Repository: http://cdr.eurolisp.org
Closer to MOP & ContextL: http://common-lisp.net/project/closer/
Hip-hip, hooorayyyyyyyyyyyy!
kxo
It's a linear algebra problem. In the past, I've looked over CLEM, but
it wasn't organized the way I was organizing my solution. The recent
update of CLEM made me think that it deserved another review now that
I have a little more lisp and CLOS experience under my belt. I also
wanted to get a better handle on MOP so that I'd know when to use it.
Thanks,
Tom
Hi Tom,
If CLEM works for you, that is great, but I am not sure it is as reliable
in terms of numerical stability as LAPACK. I usually use the latter via
CFFI. I have some rudimentary BLAS/LAPACK CFFI bindings, which I plan to
make public once I clean them up. Contact me if you need them.
Tamas
Tamas,
Thanks for the offer. I've not been using CLEM, just looking through
it to see how it is using MOP. I've actually been working on a linear
algebra package fully implemented in common lisp loosely based on the
BLAST specification.
http://www.netlib.org/blas/blast-forum/
I'm using CLOS classes for the matrix definitions. I'm have no
interest in performance at the moment, I'm more interested in (1)
implementing correct algorithms and (2) developing the interface. As I
develop the fundamental operations, I directly reference the BLAS
code, "Applied Numerical Linear Algebra" by J. W. Demmel, LAPACK
Working Notes:
http://www.netlib.org/lapack/lawns/downloads/
and various other references that I've scrubbed off of the internet.
At this point, it is the interface that is causing me problems. It is
totally an aesthetic issue, but it is something that I believe is
critical. That was my motivation for digging into the metaobject
protocol. I'm getting close to an interface that I find acceptable,
but it's just not quite right.
I'd appreciate if you kept me updated on your CFFI bindings to BLAS/
LAPACK. Once the interface to my package is correct and documented, it
would be useful to have the option of using different backends, such
as the a common lisp backend or a CFFI backend to BLAS/LAPACK.
Thanks,
Tom
http://web.archive.org/web/19960101-re_/http://wiki.alu.org/Metaobject_Protocol
--
-- Jerry van Dijk
-- Leiden, Holland
--
-- "No one has ever yet got into trouble from a contradiction in logic."
-- (Wittgenstein, ca. 1939)