native_pbc branch: Revive pbc
rurban at x-ray.at
Sat Sep 1 20:26:30 UTC 2012
The native_pbc branch is ready to be merged.
The tests are now stable, and the pbc format has been cleaned up to include
no hard-coded parrot version number. The opslib header and init
now the PBC_COMPAT version number, which enables parrot to read pbc files
from older but still pbc compatible parrots. The whole exercise to
have such a number.
---------- Forwarded message ----------
From: GitHub <noreply at github.com>
Date: Sat, Sep 1, 2012 at 2:18 PM
Subject: [parrot/parrot] ea86d0: Revive pbc
To: parrot-commits at lists.parrot.org
Author: Reini Urban <rurban at cpanel.net>
Date: 2012-09-01 (Sat, 01 Sep 2012)
The parrot utils could not load pbc compatible, but older pbc fils anymore
because opslib directories and the init function hardcoded the parrot version
(even with patch!) and not the PBC_COMPAT version.
Replaced all parrot version triples in the pbc format with the PBC
parrot utils can now load older but compatible pbc files (again).
Replaced the hardcoded version numbers with c preprocessor macros in the
bootstrapped opslib sources and headers, to be more independent and simplier
implementation. If the ops did not change, the ops do not need to get
anymore for each version bump.
The Ops::Emitter version method is not used anymore, since bootstrap-ops has
Sanified the Makefile by adding missing dependencies and do proper identation
for depends and commands. Prev. line-broken depends were not visually
indistuingishible from commands, and line-broken commands neither.
Store PBC_MAJOR and PBC_MINOR in the config hash, stored by auto::revision.
Bump PBC_COMPAT to 13.0, the opslib directories store now only two version
numbers, not three.
More information about the parrot-dev