4 ms·
Well, many languages like Ada/Pascal or even SQL try to reduce the number of parentheses/braces. But you can manipulate their AST in Lisp easily; that's what ma
by junke 9y ago
Well, many languages like Ada/Pascal or even SQL try to reduce the number of parentheses/braces. But you can manipulate their AST in Lisp easily; that's what makes working with DSLs easy.
(procedure foo ((integer x) (in-out integer y))
(set y (+ 3 x y))))
;; https://sites.google.com/site/sabraonthehill/postmodern-examples/postmodern-intro-to-s-sql
(query (:order-by
(:select 'countries.name
:from 'countries
:where (:= 'name '$1)))
"Vietnam")