Re:Writing a simple Lisp interpreter in Rust
by shakow on Saturday March 04, 2023 @04:28AM
(#35019525)
IMHO, for having written a Lisp-like DSL that is heavily used in our product, the beauty of Lisp is not in spending a week writing a bug-free parser.
It actually resides in the regularity and the leanness of the generated AST, that makes it very easy to add syntax, forms, builtins, etc. and thus iterate reliably and fast according to emerging use cases and requirements, virtually without ever having to worry about breaking the grammar.
Also, it's pretty easy to learn for end-users, even those not overly familiar with programming.
It actually resides in the regularity and the leanness of the generated AST, that makes it very easy to add syntax, forms, builtins, etc. and thus iterate reliably and fast according to emerging use cases and requirements, virtually without ever having to worry about breaking the grammar.
Also, it's pretty easy to learn for end-users, even those not overly familiar with programming.