Mercerenies / gdlisp

Lisp on the Godot platform
GNU General Public License v3.0
148 stars 1 forks source link

Revisit nested quasiquotes #132

Open Mercerenies opened 1 year ago

Mercerenies commented 1 year ago

40 defined nested quasiquote semantics. Revisit this, I find them very unintuitive.

``,,x

evaluates to

`,1

if x has value 1. How often do we want a nested quasiquote to evaluate to another unquote form? In my mind, a double unquote should eat both unquotes in a nested quasiquote.