Re: Shelling

2024-04-19 Thread Arun Isaac
Hi Tom, I do write my shell scripts in Guile. For added nicety, I usually deploy these scripts using Guix's G-expressions. This lets you easily manage the dependencies of that script, and deploy to remote machines effortlessly. See

Re: Shelling

2024-04-19 Thread Damien Mattei
i did not understood you where searching a shell in scheme... so going further it seems to exist a sort of terminal in scheme too: http://domterm.org/index.html it is for Kawa scheme not guile, but i never test it, i can not provide any feed back Damien On Fri, Apr 19, 2024 at 1:43 AM Tom

Re: Shelling

2024-04-18 Thread Ahmed Khanzada via General Guile related discussions
Not discouraging you from gash, but babashka is pretty good for this too: https://babashka.org/

Re: Shelling

2024-04-18 Thread Tom Whitcomb via General Guile related discussions
Thanks all.  Very helpful. Tom On Thursday, April 18, 2024 at 04:29:36 PM PDT, Matt Wette wrote: On 4/18/24 9:44 AM, Tom Whitcomb via General Guile related discussions wrote: > Hi. > I need to write a set of shell scripts and I would really like to do it with > a lisp.  Is that a use

Re: Shelling

2024-04-18 Thread Matt Wette
On 4/18/24 9:44 AM, Tom Whitcomb via General Guile related discussions wrote: Hi. I need to write a set of shell scripts and I would really like to do it with a lisp.  Is that a use case for guile or should I move towards scheme/scsh? Tom You may be interested in gash:

Re: Shelling

2024-04-18 Thread Damien Mattei
hello Tom, i use sometimes guile as a shell script, your file should start with: #!/usr/local/bin/guile -s !# and after the scheme code for example : (define stderr (current-error-port)) ; parse the input file from command line (define cmd-ln (command-line)) (define args (cdr cmd-ln)) (when

Shelling

2024-04-18 Thread Tom Whitcomb via General Guile related discussions
Hi. I need to write a set of shell scripts and I would really like to do it with a lisp.  Is that a use case for guile or should I move towards scheme/scsh? Tom