Giter Club home page Giter Club logo

pragmacompatibility's Introduction

PragmaCompatibility

I am a tiny tiny project to manage the keyword -> selector compatibility of Pragma before and after Pharo 6.1

Quick start

Originaly, Pragma implemented a #keyword method to get the keyword of a Pragma. In Pharo 7 a method #selector was included to do the same thing and #keyword was deprecated in Pharo8.

The major problem lie in the fact that #selector existed in Pharo 6 and had a differente meaning. Thus, it is hard to manipulate the keyword of a pragma in Pharo 6, 7 and 8+ at the same time.

This project adds a method #pragmaSelector to Pragma calling the right method depending on the Pharo version.

Installation

To install PragmaCompatibility on your Pharo image, execute the following script:

Metacello new
	githubUser: 'jecisc' project: 'PragmaCompatibility' commitish: 'v1.x.x' path: 'src';
	baseline: 'PragmaCompatibility';
	load

To add PragmaCompatibility to your baseline:

spec
	baseline: 'PragmaCompatibility'
	with: [ spec repository: 'github://jecisc/PragmaCompatibility:v1.x.x/src' ]

Note you can replace the #master by another branch such as #development or a tag such as #v1.0.0, #v1.? or #v1.2.? .

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.

Smalltalk versions compatibility

Version Compatible Pharo versions
1.x.x Pharo 61, 70, 80, 90, 10

Contact

If you have any questions or problems do not hesitate to open an issue or contact cyril (a) ferlicot.me

pragmacompatibility's People

Contributors

jecisc avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.