letLISP.js, one of
letLISP
implementations
[LISP code]
(let rev ((a '(a b c d e)) (b '())) (if (eq? a '()) b (rev (cdr a) (cons (car a) b))))
[read code]
Result:
Copyright (C) 2022
TAKIZAWA Yozo