Show HN: Class-diff: A Pharo classes comparer using Needleman-Wunsch

hernanmd1 pts0 comments

GitHub - hernanmd/class-diff: A Pharo classes comparer · GitHub

/" data-turbo-transient="true" />

Skip to content

Search or jump to...

Search code, repositories, users, issues, pull requests...

-->

Search

Clear

Search syntax tips

Provide feedback

--><br>We read every piece of feedback, and take your input very seriously.

Include my email address so I can be contacted

Cancel

Submit feedback

Saved searches

Use saved searches to filter your results more quickly

-->

Name

Query

To see all available qualifiers, see our documentation.

Cancel

Create saved search

Sign in

/;ref_cta:Sign up;ref_loc:header logged out"}"<br>Sign up

Appearance settings

Resetting focus

You signed in with another tab or window. Reload to refresh your session.<br>You signed out in another tab or window. Reload to refresh your session.<br>You switched accounts on another tab or window. Reload to refresh your session.

Dismiss alert

{{ message }}

hernanmd

class-diff

Public

Notifications<br>You must be signed in to change notification settings

Fork

Star

master

BranchesTags

Go to file

CodeOpen more actions menu

Folders and files<br>NameNameLast commit message<br>Last commit date<br>Latest commit

History<br>13 Commits<br>13 Commits

ClassDiff

ClassDiff

src

src

.project

.project

README.md

README.md

View all files

Repository files navigation

Table of Contents

Description

Installation

Baseline String

Implementation notes

Contribute

Version management

License

Description

Compare two classes side by side and identify similarities and differences between their methods. This package uses the Spec 2 library to provide an intuitive interface for visualizing and analyzing class behaviors.

Screenshot

Installation

EpMonitor disableDuring: [<br>Metacello new<br>baseline: 'ClassDiff';<br>repository: 'github://hernanmd/class-diff/src';<br>load ].

Baseline String

If you want to add the ClassDiff to your Metacello Baselines or Configurations, copy and paste the following expression:

" ... "<br>spec<br>baseline: 'ClassDiff'<br>with: [ spec repository: 'github://hernanmd/class-diff/src' ];<br>" ... "

Usage

SpClassDiffPresenter new<br>sourceClass: OrderedCollection;<br>targetClass: LinkedList;<br>open.

You can also open the tool and select classes dinamically:

SpClassDiffSelectionPresenter new open.

Contribute

Working on your first Pull Request? You can learn how from this free series How to Contribute to an Open Source Project on GitHub

If you have discovered a bug or have a feature suggestion, feel free to create an issue on Github.<br>If you have any suggestions for how this package could be improved, please get in touch or suggest an improvement using the GitHub issues page.<br>If you'd like to make some changes yourself, see the following:

Fork this repository to your own GitHub account and then clone it to your local device

Do some modifications

Test.

Add to add yourself as author below.

Finally, submit a pull request with your changes!

This project follows the all-contributors specification. Contributions of any kind are welcome!

Version management

This project use semantic versioning to define the releases. This means that each stable release of the project will be assigned a version number of the form vX.Y.Z.

X defines the major version number

Y defines the minor version number

Z defines the patch version number

When a release contains only bug fixes, the patch number increases. When the release contains new features that are backward compatible, the minor version increases. When the release contains breaking changes, the major version increases.

Thus, it should be safe to depend on a fixed major version and moving minor version of this project.

License

This software is licensed under the MIT License.

Copyright Hernán Morales Durand, 2024.

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Authors

Hernán Morales Durand

About

A Pharo classes comparer

Topics

smalltalk

needleman-wunsch

classes

pharo

pharo-smalltalk

comparison-tool

Resources

Readme

Uh oh!

There was an...

version software github project class classes

Related Articles