Re: First 64-bit release

2009-07-22 Thread Tomas Hlavaty
Hi Alex,

 Why did you abandon lisp syntax for the assembler?

 Good question. I considered it initially, but found no advantage
 using it (not even for the parser). I think that in such a case the
 parentheses would be rather unwieldy. Why would you prefier lisp
 syntax here?

List syntax gives the code more explicit structure and makes code
editing much easier usually but I appreciate that it is assemmbly
where each command is on separate line so it is not such an issue.
Also, it would allow for macros/shortcuts to automate common patterns.
E.g. push/pop: there are lots of places where I can see patterns like

(code 'doApply 2)
push X
push Y
push Z
..
pop Z
pop Y
pop X
ret

which could take advantage of more structured code:

(asmFn 'apply 2 (X Y Z)
   ... )

Maybe the question should be whether there are ways of building the
assembly code programmatically rather than manually?

Thanks  well done to your 64 bit release!

Cheers,

Tomas
-- 
UNSUBSCRIBE: mailto:picol...@software-lab.de?subject=unsubscribe


Re: The 'native' function (Was: First 64-bit release)

2009-07-22 Thread Tomas Hlavaty
Hi Alex,

thanks for the description of the FFI.  When I have time, I should
port my ffi.l to the 64 bit version.

Cheers,

Tomas
-- 
UNSUBSCRIBE: mailto:picol...@software-lab.de?subject=unsubscribe