terrycojones / daudin

A Python command-line shell
MIT License
176 stars 9 forks source link

How this compares to xonsh #6

Closed jnoortheen closed 4 years ago

jnoortheen commented 4 years ago

It is good to see someone trying to innovate in the space of develop tools. But duplicate efforts could be avoided. There is xonsh which is a superset of Python. It does define some extra constructs but very minimal. How does daudin compares to xonsh?

terrycojones commented 4 years ago

Hi @jnoortheen Someone else also pointed me to xonsh. I've not had a chance to look at it in any detail yet. But my first impression is that xonsh is quite a mature project. Daudin is something I wrote most of in one night. I can't really say what the differences are in any detail. xonsh seems to have a lot of "extra" functionality that must be provided by more careful parsing of the command line (e.g., a "normal" cd command), whereas daudin just splits on | that's not preceded by a backslash. Daudin allows anything to be in the pipeline (in the _ variable). I have no idea what xonsh does, though I see it has pipelines. That's all that comes to mind at the moment. Daudin was really me playing around to see what I could come up with. I wouldn't recommend it for serious use, at least not at this stage. xonsh looks very mature and is almost certainly much more robust, etc., and I assume has a decent community of people actually using it. I'm just playing around with ideas to see where they go and to have some fun.

jnoortheen commented 4 years ago

OK understood. I came here after reading about new shell in Python in PyCoders weekly newsletter and thought of letting you know about xonsh.

terrycojones commented 4 years ago

Ah, I didn't know it had been mentioned in PyCoders weekly newsletter (or even that that existed). That's interesting. Anyway, daudin is just a tiny, baby side-project at the moment. I'd be happy for people to contribute to it, of course, but don't have any ambitious plans for it myself at this point - I have too much other stuff to be doing. But I think I'll start using it, just to see how it goes and probably will continue to make improvements. Thanks!