Re: [racket-users] Racket Shell

2016-08-21 Thread Matthias Felleisen
I just ran across this little thing: https://asciinema.org/a/0utgivr7glk3ssn01fn5uwtey People who want more shell ought to watch. It’s 2mins and cute — Matthias -- You received this message because you are subscribed to the Google Groups "Racket Users" group. To unsubscribe from this

Re: [racket-users] Racket Shell

2016-08-21 Thread William G Hatch
I've looked over the scsh docs at various times, though I've never actually used it -- it's never been pre-packaged for distros I've used, and every time I've tried to build it I've run into errors. Perhaps I should try again. As far as the process syntax goes, a little bit of macros over my

Re: [racket-users] Racket Shell

2016-08-21 Thread Norman Gray
William, hello. On 20 Aug 2016, at 23:23, Matthias Felleisen wrote: You may wish to read up on scsh. While it was way ahead of its time, Olin Shivers made the syntax as natural as possible so it would be quickly useful to people used to basic shell scripting syntax. After all, this syntax has

Re: [racket-users] Racket Shell

2016-08-21 Thread Matthias Felleisen
William & Norman, as much as I give credit to scsh, I just think that taking clues from scsh is enough. One could expand surface syntax into William’s pipe library for example. The irony is of course that scsh’s start-up time was so bad back then, that we couldn’t use it for anything real.

[racket-users] Racket -script running other Racket scripts

2016-08-21 Thread Pekka Niiranen
Hello users, I am trying to eradicate *.bat files running Racket scripts. What is the idiom to make Racket script to start itself recursively (system, process, subprocess) when main script is started from shell and all outputs are printed to console? "racket mscript.rkt args" => (system *.bat)

[racket-users] Sending a file via HTML request.

2016-08-21 Thread Normal Loone
Hallo, I am trying to write a small web-based program in racket. The main task of it should be to send a specific file to a server. How do I best send it? Through a HTML request or on another way? -- You received this message because you are subscribed to the Google Groups "Racket Users"

Re: [racket-users] Racket -script running other Racket scripts

2016-08-21 Thread Ben Greenman
I would use `system*` or `process*` with `(find-exe)` [1] as the first argument. You might also like `find-console-bin-dir` [2]. [1] http://docs.racket-lang.org/raco/exe.html#%28def._%28%28lib._compiler%2Ffind-exe..rkt%29._find-exe%29%29 [2]