<div dir="ltr"><font class="Apple-style-span" face="arial, sans-serif">sorry i sent the in-completed message by mistake<br></font><div class="gmail_extra"><br><br><div class="gmail_quote">On Sat, Feb 23, 2013 at 2:32 PM, Taoufik Dachraoui <span dir="ltr"><<a href="mailto:dachraoui.taoufik@gmail.com" target="_blank">dachraoui.taoufik@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr">
Hi<div><br></div><div>is there any documents or tutorials about lap-functions</div><div><br></div><div>I would like to write a part of a program using lap-functions</div><div><br></div><div>The structure of the program is as follows:</div>

<div><br></div><div>(defun gen-code (e)</div><div>  (cond e</div><div>     ((null e) nil)</div><div>     ((atom e) e)</div></div></blockquote><div>        ((eq x y) expr)</div><div>       ...))</div><div><br></div><div>gen-code generates a code like a tagbody with tags, gotos, and simple conditionals using (if (eq symbol symbol) then else)</div>
<div><br></div><div>expr may contain a combination of (pop stack), (push x stack), (go label), (goto (pop stack)) ...</div><div><br></div><div>goto is a computed go; (goto (pop stack)) will do (go <result of (pop stack)>)</div>
<div><br></div><div>How can I mix lap-functions within lisp expressions; In gen-code I define labels and I need to jump to those labels</div><div>when needed; labels are pushed/popped from a stack</div><div><br></div></div>
Is there any tutorial for lap-functions or some simple examples with the structure above</div><div class="gmail_extra"><br></div><div class="gmail_extra">I tried to understand how tagbody works in nx1.lisp, and be inspired to write my own gen-code mixing lisp and lap-functions, but without any knowledge about lap-functions I found it difficult to understand</div>
<div class="gmail_extra"><br></div><div class="gmail_extra">Kind regards</div><div class="gmail_extra">Taoufik</div><div class="gmail_extra"><br></div></div>