Name: Anonymous 2012-01-22 14:05
I want to make my own compiler that does Common Lisp or a subset of it to MIPs assembly or any other elegant asm.
How hard would this be?
How hard would this be?
(let ((anus (malloc (sizeof 'int32)))
(assert anus)
(print anus)
(print (ptr-to-int32 anus 0))
(free anus))
(set anus (malloc (sizeof 'int32)))
(assert anus)
(print anus)
(print (ptr-to-int32 anus 0))
(free anus)pretty-print call away in almost any usable Lisp implementation.