3 ms·
CL has built in syntax for function definitions, local variable definitions, type declarations, function calls, loops, assignments, increments, value returning
by lispm 4y ago
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)) ...)
and so on...