Neil Toronto wrote:
Alan Manuel Gloria wrote:
maybe a tag with () would do better -
define somefunction(x y)
   if somethingorother(x)
       ournewcode(y)
       #|Legacy code from old version of somefunction()|#
       #s-expr(oldcode (somemoreoldcode x) (lessoldcode y))
...or maybe not.  Hmm.

I thought about that, too. Whether it's good would depend on how often sweet-expr people are expected to drop down to pure s-expressions. I think the tag would have to be long because any short ones would have the potential to collide with a real identifier. Maybe it's not an issue, though, if the tag means nothing within real s-exprs.

Sorry, my bad. You just told me # is an escape character, so s-expr couldn't be any sort of identifier.

Reply via email to