[Openmcl-devel] lap-functions

Taoufik Dachraoui dachraoui.taoufik at gmail.com
Mon Feb 25 13:04:21 PST 2013


Hi

How to be familiar with the details of how CCL is implemented? is there a
roadmap for new comers that want to learn
in more detail the CCL implementation?

Kind regards
Taoufik


On Mon, Feb 25, 2013 at 12:55 AM, R. Matthew Emerson <rme at clozure.com>wrote:

>
> On Feb 23, 2013, at 8:43 AM, Taoufik Dachraoui <
> dachraoui.taoufik at gmail.com> wrote:
>
> > On Sat, Feb 23, 2013 at 2:32 PM, Taoufik Dachraoui <
> dachraoui.taoufik at gmail.com> wrote:
> > Hi
> >
> > is there any documents or tutorials about lap-functions
> >
> > I would like to write a part of a program using lap-functions
>
> The LAP notation and the various defXlapfunction macros are not
> documented.  There are numerous examples of its use in CCL's sources.  The
> files in ccl:level-0;X86 contain a lot of LAP.  When writing LAP, you need
> to think constantly about GC-safety.  Section 17.2.3 of the manual talks
> about this a little bit.
>
> Play around with it if you like, but it's pretty easy to mess up. You
> really do need to be familiar with the details of how CCL is implemented in
> order to write LAP successfully.
>
> > How can I mix lap-functions within lisp expressions; In gen-code I
> define labels and I need to jump to those labels
> > when needed; labels are pushed/popped from a stack
>
> It's not possible to mix LAP and lisp code in the same function.
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.clozure.com/pipermail/openmcl-devel/attachments/20130225/3190d236/attachment.htm>


More information about the Openmcl-devel mailing list