[plt-scheme] s-expr differ
Redex also has something like this built into the 'stepper' function.
I struggled with getting that right (altho a lot of those struggles
were because I was using pretty-print to produce the results) so if
this is better, that'd be nice to use instead.
Anyways, if you want to try it out, define a reduction system that
reduces from one of the sexps to the other and then use the stepper so
those two expressions come out as subsequent steps.
Robby
On Thu, Oct 1, 2009 at 5:04 PM, Jon Rafkind <rafkind at cs.utah.edu> wrote:
> I wrote a little program to highlight the differences in s-expressions.
> Right now it only works in xterm but if anyone cares about it I can probably
> get it to work in other terms and drscheme.
>
> Here it is working in xterm (yes my theme is xp):
>
> http://www.cs.utah.edu/~rafkind/tmp/diff/diff.png
>
> Code is there too
>
> http://www.cs.utah.edu/~rafkind/tmp/diff/
> _________________________________________________
> For list-related administrative tasks:
> http://list.cs.brown.edu/mailman/listinfo/plt-scheme
>