Add method for compiling nodes following the NEXT chain

This commit is contained in:
John Lorentzson 2025-03-28 11:47:27 +01:00
parent dc80e6e1e3
commit 6f0b19720d

View file

@ -91,6 +91,11 @@
(format-inst t "PLA")
(format-inst t "TAX"))
(defmethod compile-starting-at ((node node))
(generate-code node)
(unless (null (next node))
(compile-starting-at (next node))))
(defun make-call (callee args)
(let ((arguments
(loop :for (constp value) :in args