I have a lisp function. Is it possible to convert it to assembly language?
(defun isprime (num &optional (d (- num 1)))
(if (/= num 1) (or (= d 1)
(and (/= (rem num d) 0)
(is-prime num (- d 1)))) ()))
The above code I want to convert it to assembly language. I am not sure if linux or windows have any tools to do it?
Why do you want to do that?
If you want to study how Lisp compilation works, just use
disassemble:If you want to compile the code for future use, then use
compile-file.