[squeak-dev] Differencing ordered sets

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

[squeak-dev] Differencing ordered sets

Bergel, Alexandre
Dear list,

Is there a diff-like mechanism in Squeak? I've heard there is a diff  
tool in Squeak that operates on texts. Anyone has the url?
Although I want to be able to work with any arbitrary ordered sets,  
beginning with texts might be a good start.

Cheers,
Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.






Reply | Threaded
Open this post in threaded view
|

Re: [squeak-dev] Differencing ordered sets

Bert Freudenberg
Am 08.07.2008 um 10:37 schrieb Bergel, Alexandre:

> Dear list,
>
> Is there a diff-like mechanism in Squeak?

Of course. That is how the diff views work in the method version list,  
Monticello changes or merge dialogs, etc.

> I've heard there is a diff tool in Squeak that operates on texts.  
> Anyone has the url?
> Although I want to be able to work with any arbitrary ordered sets,  
> beginning with texts might be a good start.


Open a System Browser. Press Cmd-F or Alt-F to bring up the class  
search dialog. Type "diff" (without the quotes). Press return. Select  
the diff builder you want.

- Bert -



Reply | Threaded
Open this post in threaded view
|

Diff and Diff3 in Smalltalk (was Re: [squeak-dev] Differencing ordered sets)

Tony Garnock-Jones-2
In reply to this post by Bergel, Alexandre
Hi Alexandre,

Coincidentally, a couple of weeks back I write some code for
Hunt-McIlroy diff, and a diff3 implementation built on top.

I've just committed it to squeaksource:
http://www.squeaksource.com/DiffMerge.html

To get a quick overview of the API, see the test cases in classes
Diff3Tests and HuntMcilroyDiffTests. I'd like to implement Bram Cohen's
diff algorithm as another subclass of GenericDiff, too.

I've blogged about it:
http://www.lshift.net/blog/2008/07/01/smalltalk-vs-javascript-diff-and-diff3-for-squeak-smalltalk
http://www.lshift.net/blog/2008/06/06/diff3-merging-and-distributed-version-control

Regards,
  Tony

Bergel, Alexandre wrote:

> Dear list,
>
> Is there a diff-like mechanism in Squeak? I've heard there is a diff
> tool in Squeak that operates on texts. Anyone has the url?
> Although I want to be able to work with any arbitrary ordered sets,
> beginning with texts might be a good start.
>
> Cheers,
> Alexandre
> --_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
> Alexandre Bergel  http://www.bergel.eu
> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>
>
>
>
>
>
>


--
 [][][] Tony Garnock-Jones     | Mob: +44 (0)7905 974 211
   [][] LShift Ltd             | Tel: +44 (0)20 7729 7060
 []  [] http://www.lshift.net/ | Email: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: Diff and Diff3 in Smalltalk (was Re: [squeak-dev] Differencing ordered sets)

Bergel, Alexandre
This is excellent!
Thanks Tony and Bert!

Alexandre


On 8 Jul 2008, at 15:16, Tony Garnock-Jones wrote:

> Hi Alexandre,
>
> Coincidentally, a couple of weeks back I write some code for
> Hunt-McIlroy diff, and a diff3 implementation built on top.
>
> I've just committed it to squeaksource:
> http://www.squeaksource.com/DiffMerge.html
>
> To get a quick overview of the API, see the test cases in classes
> Diff3Tests and HuntMcilroyDiffTests. I'd like to implement Bram  
> Cohen's
> diff algorithm as another subclass of GenericDiff, too.
>
> I've blogged about it:
> http://www.lshift.net/blog/2008/07/01/smalltalk-vs-javascript-diff-and-diff3-for-squeak-smalltalk
> http://www.lshift.net/blog/2008/06/06/diff3-merging-and-distributed-version-control
>
> Regards,
>  Tony
>
> Bergel, Alexandre wrote:
>> Dear list,
>>
>> Is there a diff-like mechanism in Squeak? I've heard there is a diff
>> tool in Squeak that operates on texts. Anyone has the url?
>> Although I want to be able to work with any arbitrary ordered sets,
>> beginning with texts might be a good start.
>>
>> Cheers,
>> Alexandre
>> --_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
>> Alexandre Bergel  http://www.bergel.eu
>> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>>
>>
>>
>>
>>
>>
>>
>
>
> --
> [][][] Tony Garnock-Jones     | Mob: +44 (0)7905 974 211
>   [][] LShift Ltd             | Tel: +44 (0)20 7729 7060
> []  [] http://www.lshift.net/ | Email: [hidden email]
>

--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.