Lisp refactoring (was Re: [Bese-devel] more UCW api breakage)

Matley matley at muppetslab.org
Fri Oct 22 23:01:24 UTC 2004


Is there any tool for emacs or not, for lisp refactoring?

I think to a code transformation utility rule-based that takes as input a
stream with lisp code, a rule and generate as output the new version API
compliant lisp code.

So an api breakage can be delivered with the rule that transform the
matching code.

Sorry for my English

>
> i wasted a lot of time because i kept writing:
>
> (<ucw:a :action (some-action foo) ...)
>
> instead of
>
> (<ucw:a (some-action foo) ...)
>
> the problem is that in a bout of madness i defined some <ucw tags to use
positional arguments, even though they're supposed to look to other
yaclml tags which only take attribute args. this is madness. i'm
changing the API of the <ucw:a and <ucw:form macros to look more like
every other tag (i'll change <ucw:render-component as well). instead of
a positional argument they'll take an action attribute parameter.
>
> this will break old code (though that seems to be ucw 0.3's motto), if
anyone has issues with this (or other recent changes) i'm all
> ears. qui tacet consentire videtur.
>
> --
> -Marco
> Ring the bells that still can ring.
> Forget your perfect offering.
> There is a crack in everything.
> That's how the light gets in.
>      -Leonard Cohen
>
> _______________________________________________
> bese-devel mailing list
> bese-devel at common-lisp.net
> http://common-lisp.net/mailman/listinfo/bese-devel
>








More information about the bese-devel mailing list