3 ms·
Here's a code snippet using SRFI 49, for Scheme. (A 2003 formalisation for a macro system that had been rocking around for a few decades, for a very old Lisp):
by shakna 6y ago
Here's a code snippet using SRFI 49, for Scheme. (A 2003 formalisation for a macro system that had been rocking around for a few decades, for a very old Lisp):
define
fac x
if
= x 0
1
* x
fac
- x 1
Python's keywords are sometimes shorter, but they are familiar to most Lispers, which some of the founders were.