Nothing Special   »   [go: up one dir, main page]

Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use Stack to build bnfc #198

Closed
pascalh opened this issue Nov 24, 2016 · 6 comments
Closed

Use Stack to build bnfc #198

pascalh opened this issue Nov 24, 2016 · 6 comments
Milestone

Comments

@pascalh
Copy link
Contributor
pascalh commented Nov 24, 2016

Recently stack gets more and more popular, since it avoids cabal-hell, eases updating used packages and ghc and also uses a sandbox for every project by default. Stack also allows the ease use of different versions of ghc on a system. Hereby I suggest to use stack as a build tool for bnfc.

pascalh added a commit to pascalh/bnfc that referenced this issue Dec 13, 2016
pascalh added a commit to pascalh/bnfc that referenced this issue Dec 13, 2016
pascalh added a commit to pascalh/bnfc that referenced this issue Dec 13, 2016
@metaleap
Copy link

Did this PR get accepted? If not, and anyone comes across this: one can, in the sources sub-directory, do a stack init (creates a stack.yaml from the .cabal file) then stack install, this worked at my end. Only oddity is that using the current git repo you get 2.8 whereas if you don't clone at all, ever and just do stack install BNFC outright instead, you already get 2.8.1 😏

@pascalh
Copy link
Contributor Author
pascalh commented Mar 10, 2017

@metaleap waiting for an answer regarding this PR. This is exactly what I did to raise this PR ;)

Master is the dev branch and you find the branch for 2.8.1 here. However, the version number in master should be bumped to 2.8.1 as well.

@ip1981
Copy link
ip1981 commented Apr 14, 2018

First of all you can use Stack as is. If you find yourself in need of many files and configuration for Stack you are in Stack-hell.

Second, cabal-hell is no longer a problem since we have new builds with http://cabal.readthedocs.io/en/latest/nix-local-build-overview.html

And cabal new-freeze is a way better than Stack's snapshots, because information is local. But both mean flaws in design and Haskell code quality. Good old .cabal file ought to be enough with minimal version requirements and packages must maintain backward compatibility.

P. S. Yes, I dislike Stack.
P. P. S. Downloading prebuilt GHC by Stack is ridiculous.

@EncodePanda
Copy link

@ip1981 so.... instead of helping with the issue, you've decided to spent this time to tell us how you don't like Stack.. well, that was soooooo helpful! Thank you! It moved this issue forward.

P.S Yes, irony
P.P.S Being ridiculous is ridiculous

@andreasabel
Copy link
Member

#199 has been merged, I suppose this issue can be closed.

@andreasabel andreasabel added this to the 2.8.3 milestone Jan 2, 2019
@andreasabel
Copy link
Member

See #241: BNFC is now on stackage.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants