Re: [racket-users] Why is there a space in the path to the Racket application on MacOSX?

2018-04-03 Thread Philip McGrath
One way the student languages from HtDP are different from most Racket DSLs and langs is that, in the service of regularity and nice error messages, they take away many convenient and powerful features of the full Racket language. There is not really an "escape hatch" into full Racket, other than

Re: [racket-users] Why is there a space in the path to the Racket application on MacOSX?

2018-04-02 Thread Stephen Smith
Philip, you're right, a DSL doesn't have to mean a restricted language (like BSL). I completely missed that point in my last response to this thread. For some reason BSL got in my head and I incorrectly equated that concept with the embedded DSL approach suggested by Matthias as I was writing my

Re: [racket-users] Why is there a space in the path to the Racket application on MacOSX?

2018-04-01 Thread Stephen Smith
Railroad-simulation language, absolutely! One of the key reasons that Racket is on the top of the list. But what I didn't think of was to have the reader use the DSL first. I was initially planning to develop the DSL as a later part of the book - doing it the hard way perhaps. That has always

Re: [racket-users] Why is there a space in the path to the Racket application on MacOSX?

2018-04-01 Thread Matthias Felleisen
> On Apr 1, 2018, at 12:57 PM, Stephen Smith wrote: > > my (book) project is for model railroad hobbyists (many if not most who have > never programmed before). Have you considered the development of a railroad-simulation language within Racket that fits your

Re: [racket-users] Why is there a space in the path to the Racket application on MacOSX?

2018-03-31 Thread Matthew Flatt
At Sat, 31 Mar 2018 06:45:29 -0400, Philip McGrath wrote: > My current approach is to put a file containing "/Applications/Racket > v6.12/bin" in /etc/paths.d, which adds it to the default PATH for all users. I recommend that approach, because it's simple, reliable, and easy to adjust when you're

Re: [racket-users] Why is there a space in the path to the Racket application on MacOSX?

2018-03-31 Thread Philip McGrath
My current approach is to put a file containing "/Applications/Racket v6.12/bin" in /etc/paths.d, which adds it to the default PATH for all users. Personally, I'm command-line-oriented enough that I try to avoid spaces and special characters in file names I'm likely to work with from the command

Re: [racket-users] Why is there a space in the path to the Racket application on MacOSX?

2018-03-31 Thread Geoffrey Knauth
Every time I download a new version of Racket, I put it in: /Applications/Racket/ The first thing I do is replace the space in the name with a hyphen. On the more comand-liney side of things, I put /usr/local/racket/latest/bin in my PATH. Currently I have: $ which racket

Re: [racket-users] Why is there a space in the path to the Racket application on MacOSX?

2018-03-30 Thread Norman Gray
Greetings. On 30 Mar 2018, at 15:44, David Storrs wrote: On Thu, Mar 29, 2018 at 5:54 PM, HiPhish wrote: I think you are trying to solve the wrong problem. If people want to use a command-line tool they should know how to use the command line first. They [...]