Closed int-index closed 1 year ago
@int-index wrote:
The new release process is:
These instructions shouldn't just reside in a closed PR, they need to go into DEVELOPER.md
(or maybe CONTRIBUTING.rst
).
Also the bootstrap.hs
file should get a preamble with a purpose statement: What it achieves, when and how to invoke it.
Fixes #255
The new release process is:
runhaskell ./bootstrap.hs
. This replaces.y
and.ly
files with.hs
files, which applies to:packages/frontend/src/Happy/Frontend/Parser/Bootstrapped.ly
packages/frontend/src/Happy/Frontend/AttrGrammar/Parser.ly
cabal v2-sdist all
This results in the following tarballs:
Thanks to the
./bootstrap.hs
step, thehappy-frontend-2.0.tar.gz
tarball contains*.hs
files instead ofBootstrapped.ly
andParser.ly
. This should fix the issues that the users of1.21.0
encountered.The bump to
2.0
is motivated by the split into packages. I believe it's a major change that enables the use ofhappy
as a library, so it deserves a major version bump. It does not indicate a breaking change.