Comments (8)
I'd like to add that while there is no need to worry about backwards compatibility, it would be worth emphasizing that this is a very major release point, and code that used to work with Parsec < 4
will most likely not work correctly anymore with what would become parsec 4, even if it compiles. This is also in the spirit of burning (broken) bridges that Mark likes to have for now.
But obviously this is all up to Mark.
from megaparsec.
I don't know what to say, I've not decided yet. On one hand, using of name Parsec will almost certainly make this library widely used in future.
On the other hand there are reasons to stay with Megaparsec:
- If current maintenance of Parsec continues the same way for long enough period of time, Megaparsec will become quite popular anyway. Or another library will replace Parsec, as long as it's a good library, there is nothing wrong with that.
- There are other distribution methods apart from Hackage. Stackage for example. Should I go there and tell them to build Parsec from my repo from now on because my library is self-proclaimed Parsec? I don't feel entirely comfortable with this business.
- If we decide to rename it, it can lead to whole lot of confusion. We will need to rename everything including repo and re-announce it. Right now Parsec is very popular and there are a lot of materials that explain how to use it. If we instantly replace it with something very different, people will be getting unexpected problems. Of course they can specify version of Parsec to use, but this way they lock themselves into using software that will be never updated.
- Finally, Megaparsec is quite different from Parsec. It follows different naming conventions — that's not something libraries change even between major versions. There are other changes and they are not entirely cosmetic. A lot of projects depend on Parsec “as is”, some of them will be locked into depending on Parsec 3 or will have to try to avoid depending on Parsec…
- Right now when people ask that Megaparsec should be like Parsec I can tell them that this is a different library. It will be more difficult to explain why new Parsec is so different when it certainly could be more compatible. It seems like compatibility is valued by original Parsec, it still has a lot of modules that just re-export stuff.
After all, who says that original Parsec won't get new commits? I think that project is not dead yet. Its current maintainer may have reason why he cannot actively support it right now. Who knows what happened to him, I've seen commit log and he was active enough in the past, so I don't think he just ignores people on purpose or forgot about the project. There should be a reason for this inactivity. What if he chooses different path to follow when he's back?
from megaparsec.
@mrkkrp, I think your overarching concern is the following: would people appreciate it if parsec 4 would take the direction you are taking? Would people mind if parsec 4 would be much different from parsec <4, with many renames and changes in semantics? And would people mind if that trend continued for a while, while you're trying to improve the state of parser combinators?
If you want to know, you (or someone else) should send out an email to the haskell-cafe mailing list and ask exactly that. The responses will be most interesting either way.
from megaparsec.
@achudnov, I've decided against becoming Parsec 4. I think if people find this library good, they will use it anyway. It doesn't feel like Megaparsec needs more famous name to be adopted by the community (although I agree that this library as Parsec 4 would gain popularity faster). Becoming Parsec would also increase amount of work I need to do even if it's just taking over Parsec on Hackage and elsewhere and renaming of everything in the repo — that's just not what I'm interested in.
Things I want to do right now include:
- releasing of Megaparsec 4.1.0 that compiles with GHC 7.8 and 7.6;
- new
README.md
file that defines Megaparsec as something standalone, not in terms of Parsec; - Megaparsec site with educational materials and tutorials.
Even although name Parsec is famous, I don't think I have rights on that name and renaming feels like additional overhead for me (maybe I'm just lazy). Thank you for the proposition though, it's much appreciated.
from megaparsec.
@achudnov, But it seems like he indeed just ignores people, here is some activity related to a different (his own) project:
https://github.com/aslatter?tab=contributions&from=2015-10-22
I'm beginning to think that probably I should accept that proposition and became maintainer of Parsec. But to avoid confusion, Megaparsec will remain Megaparsec and Parsec will remain Parsec. However, I might be able to prepare “final” release of Parsec, 3.2.0 in which I might take the pain to fix critical bugs again without breaking compatibility with older versions of Parsec and perhaps port some tests. Then I could suspend development of Parsec with a message that would redirect people towards Megaparsec. At the same time we could tell people that if they don't like Megaparsec and they are ready to move Parsec forward, they are welcome to take over Parsec.
How about this idea?
from megaparsec.
I don't think the Hackage admins are going to buy the idea of someone taking over a package when they (s)he doesn't intend to support it long term. But, feel free to give it a try. You can also talk to some of the other Parsec maintainers and see if they'd go along with the plan of you submitting a single large patch to Parsec and issuing recommendations to switch to Megapasec. Among them, @feuerbach appears to be the most active.
from megaparsec.
@achudnov Short term support is better then the current abandonment status of Parsec. I like @mrkkrp proposal of supporting a final stable version of Parsec with critical bugs fixed. For instance, my coworker and I were baffled for the better part of an hour by this bug. We realized days latter that the defect was in the library, not our reason skills...
I think the list of tracked and unfixed bugs in the Parsec repo should speak for itself when proposing the maintainership transfer. Especially given how @mrkkrp has pointed out solutions to many of the Parsec issues within the repo's bug tracker.
from megaparsec.
Parsec's maintainer is back: https://github.com/aslatter/parsec. I hope he will be more active in the future.
from megaparsec.
Related Issues (20)
- [proposed labels: question, feature request] best practices for stateful matching of simple patterns HOT 4
- Question: mergeError HOT 2
- Greedy combinators HOT 11
- Problematic `IsString` instance HOT 4
- Processing input prior to parsing while retaining source positions HOT 1
- Mention in documentation that `parse` is an alias for `runParser` HOT 1
- MonadAccum instance for ParsecT HOT 5
- Tabs are not handled correctly when errors are rendered HOT 4
- Indentation error lost in alternative HOT 3
- `local` clears all hints HOT 5
- 9.4 migration: getSourcePos now requires `Monad m =>` HOT 6
- Remove/upgrade version bounds of executable `test-debug` from megaparsec-tests HOT 2
- Add `drop` to `Text.Megaparsec` HOT 3
- Wrong source locations on `unexpected end of input` with custom tokens HOT 2
- get col, row (as Int's) and error message of the first TrivialError HOT 2
- deepseq-1.5? HOT 1
- Error context with additional source positions HOT 4
- Parsing hexadecimal floats HOT 1
- Rewrite rules for parser primitives HOT 1
- How to use `Operator` from tutorial HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from megaparsec.