Re:I Just Can't Kick Lisp
by lispm on Sunday October 02, 2022 @07:26PM
(#33061471)
CL has built in syntax for function definitions, local variable definitions, type declarations, function calls, loops, assignments, increments, value returning and a lot more.
It just uses names operators in prefix position. foo += 1 then is (incf foo).
for (...) { ... } is then (loop for ... do ...).
...i32 counter = 0;... is then (let ((counter 0)) (declare (type i32 counter)) ...)
It just uses names operators in prefix position. foo += 1 then is (incf foo). for (...) { ... } is then (loop for ... do ...). ...i32 counter = 0;... is then (let ((counter 0)) (declare (type i32 counter)) ...)
and so on...