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 ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;. |
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 - |
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] |
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 ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;. |
Free forum by Nabble | Edit this page |