4 ms·
I love pipelines. I don't know the elaborate sublanguages of find, awk, and others, to exploit them adequately. I also love Python, and would rather use Python
by geophile 6y ago
I love pipelines. I don't know the elaborate sublanguages of find, awk, and others, to exploit them adequately. I also love Python, and would rather use Python than those sublanguages.
I'm developing a shell based on these ideas: https://github.com/geophile/marcel https://github.com/geophile/marcel.
- jraph 6y agoYour project looks really cool. I am pretty sure I've seen a Python-based interactive shell a few years ago but I can't remember the name. Have you heard of it?
- geophile 6y agoDo you mean IPython? My understanding is that IPython more of a REPL for Python, less of a shell.
- x1798DE 6y agoI imagine you are thinking of xonsh? https://xon.sh/ https://xon.sh/
- ihumanable 6y agoPerhaps you are thinking of xonsh https://xon.sh/ https://xon.sh/ Edit: x1798DE beat me to it :D
- jraph 6y agoXonsh, that's it! Thanks to you and x1798DE, and to geophile for the attempt :-) I could not find the right keywords on two different search engines to find it. This never happens.
- khimaros 6y agoThe lispers/schemers in the audience may be interested in Rash https://docs.racket-lang.org/rash/index.html https://docs.racket-lang.org/rash/index.html which lets you combine an sh-like language with any other Racket syntax.
- cat199 6y agoalso what I think is the 'original' in this domain, scsh
- ehsankia 6y ago+1 Piping is great if you memorize the (often very different) syntax of every individual tool and memorize their flags, but in reality unless it's a task you're doing weekly, you'll have to go digging through MAN pages and documentation every time. It's just not intuitive. Still to date if I don't use `tar` for a few months, I need to lookup the hodge podge of letters needed to make it work. Whenever possible, I just dump the data in Python and work from there. Yes some tasks will require a little more work, but it's work I'm very comfortable with since I write Python daily. Your project looks like, but honestly iPython already lets me run shell commands like `ls` and pipe the results into real python. That's mostly what I do these days. I just use iPython as my shell.
- tandav 6y ago+1, but I use jupyter instead of IPython