racket-rash icon indicating copy to clipboard operation
racket-rash copied to clipboard

I've been waiting for something like this for a long time

Open ddevz opened this issue 4 years ago • 1 comments

Whenever I would read about "scheme shell" or something like that, I'd try to replace bash with it and always be disappointed, so this is pretty exciting.

I'm looking forward to tab completion and a some kind of regex/globbing solution.

By the way what's in your .rashrc file?

Also, who's your PhD advisor?

ddevz avatar Dec 28 '20 21:12 ddevz

On Mon, Dec 28, 2020 at 01:30:17PM -0800, ddevz wrote:

Whenever I would read about "scheme shell" or something like that, I'd try to replace bash with it and always be disappointed, so this is pretty exciting.

Thanks!

I'm looking forward to tab completion and a some kind of regex/globbing solution.

Me too!

The regex glob stuff should be pretty straightforward to write, I just have never gotten around to it. If you wanted to take a crack at writing it, you could start with just writing a regexp-glob function. Once you have the function, you can wire it to be used implicitly in a pipeline macro by eg. detecting certain characters in a string or symbol, then wrapping relevant arguments with the regexp-glob function.

Better tab completion is farther out, and mostly waiting for me to write a better line editor.

By the way what's in your .rashrc file?

It's here in my dotfiles:

https://github.com/willghatch/dotfileswgh/blob/master/xdg-config-ro/rash/rashrc

It's mostly demos that people requested that I don't actually use myself. The big thing that I do use is the =unix-or-k-infix= macro that I use as the repl default line macro that does infix math when the first thing on the line is a literal number. Occasionally an infix desktop calculator is nice.

Once I have a better line editor I'm sure I'll have a much bigger configuration file, but it will likely deal mostly with completion and editing configuration.

Oh, and once I finally get a suite of system administration functions in Racket, my rashrc will import it.

Also, who's your PhD advisor?

My PhD advisors are Matthew Flatt and Eric Eide.

willghatch avatar Dec 28 '20 23:12 willghatch