Re: [racket-users] DrRacket's auto-indentation outside DrRacket?

2016-08-25 Thread David Christiansen
> The code I sent would be influenced by the preferences I believe. But you > could test that? I will, when I'm next on a machine with Racket. Is there a way to set these preferences programmatically, though? I intend to run the code in a VM that is created from scratch each time the tests are

Re: [racket-users] DrRacket's auto-indentation outside DrRacket?

2016-08-25 Thread Robby Findler
The code I sent would be influenced by the preferences I believe. But you could test that? Robby On Thursday, August 25, 2016, David Christiansen wrote: > Hi Robby, > > Thank you very much for a fast and useful answer! > > > I'm not sure about the suitable

Re: [racket-users] DrRacket's auto-indentation outside DrRacket?

2016-08-25 Thread David Christiansen
>>> The specification has to come with feature and/or the language, not the >>> tool. How would Emacs know about it? Or Notepad? Every editor — and every >>> tool in the tool chain — must know what indentation means if it may touch >>> it. My goal here is not for Emacs to know how to indent

Re: [racket-users] DrRacket's auto-indentation outside DrRacket?

2016-08-25 Thread David Christiansen
Hi Robby, Thank you very much for a fast and useful answer! > I'm not sure about the suitable configuration: that should probably > happen via the #lang line and shouldn't be configured "from the > outside" (we're not quite there yet, but that's where we should be > heading, IMO). Today, this

Re: [racket-users] Racket Shell

2016-08-25 Thread Eli Barzilay
On Mon, Aug 22, 2016 at 12:59 AM, William G Hatch wrote: > 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

[racket-users] How would a library express indentation rules? [was: DrRacket's auto-indentation outside DrRacket?]

2016-08-25 Thread Dupéron Georges
I'm starting a new discussion topic, so as not to crowd https://groups.google.com/forum/#!topic/racket-users/4SnwpX6gYqk . 2016-08-26 0:32 GMT+02:00 Alex Knauth : > How would a library express indentation rules? Would indentation rules meant for s-expression languages be

Re: [racket-users] DrRacket's auto-indentation outside DrRacket?

2016-08-25 Thread Alex Knauth
> On Aug 25, 2016, at 6:17 PM, Dupéron Georges > wrote: > > Le vendredi 26 août 2016 00:02:13 UTC+2, Matthias Felleisen a écrit : >> The specification has to come with feature and/or the language, not the >> tool. How would Emacs know about it? Or Notepad? Every

Re: [racket-users] Re: DrRacket's auto-indentation outside DrRacket?

2016-08-25 Thread Dupéron Georges
Le vendredi 26 août 2016 00:02:13 UTC+2, Matthias Felleisen a écrit : > The specification has to come with feature and/or the language, not the tool. > How would Emacs know about it? Or Notepad? Every editor — and every tool in > the tool chain — must know what indentation means if it may touch

Re: [racket-users] Re: DrRacket's auto-indentation outside DrRacket?

2016-08-25 Thread Matthias Felleisen
The specification has to come with feature and/or the language, not the tool. How would Emacs know about it? Or Notepad? Every editor — and every tool in the tool chain — must know what indentation means if it may touch it. > On Aug 25, 2016, at 6:00 PM, Dupéron Georges

Re: [racket-users] Re: DrRacket's auto-indentation outside DrRacket?

2016-08-25 Thread Dupéron Georges
Le jeudi 25 août 2016 23:47:21 UTC+2, Matthias Felleisen a écrit : > If Travis re-indented my benchmarks/samples every time I commit one, I would > be rather unhappy. I think that's what David meant by "A way to represent indentation specifications for new syntactic forms": the idea would be

Re: [racket-users] Re: DrRacket's auto-indentation outside DrRacket?

2016-08-25 Thread Matthias Felleisen
I am skeptical of this and I would like us to not jump the gun. Just today I adjusted my personal indentation style for universe. (It had somehow gotten lost.) It now indents properly the way its creator intended it to: (universe the-small-thing [on-new . . . ] [on-msg . . . ])

[racket-users] Re: DrRacket's auto-indentation outside DrRacket?

2016-08-25 Thread Dupéron Georges
I'll add a few relevant and less relevant references: This discussion [1] is about extending drracket's built-in indenter, using `drracket:indentation` [2]. The #lang's get-info function should accept that symbol as a key, and return an indentation function. To access the default indentation

Re: [racket-users] DrRacket's auto-indentation outside DrRacket?

2016-08-25 Thread Robby Findler
Oh, actually comparing characters is just fine, since tabify changes only characters, not snips. Robby On Thu, Aug 25, 2016 at 4:24 PM, Robby Findler wrote: > I'm not sure about the suitable configuration: that should probably > happen via the #lang line and

Re: [racket-users] DrRacket's auto-indentation outside DrRacket?

2016-08-25 Thread Robby Findler
I'm not sure about the suitable configuration: that should probably happen via the #lang line and shouldn't be configured "from the outside" (we're not quite there yet, but that's where we should be heading, IMO). But for point 2, here's a script. It depends on the GUI library. Removing that

[racket-users] DrRacket's auto-indentation outside DrRacket?

2016-08-25 Thread David Christiansen
Hi all, As far as I know, the standard for indentation in Racket is "Do like DrRacket", after DrRacket has been suitably configured for new syntax introduced by the application in question. I'd like to arrange for this to be enforced by Travis. As far as I can see, my building blocks for this

Re: [racket-users] fivethirtyeight indexes reddit

2016-08-25 Thread Daniel Prager
On Fri, Aug 26, 2016 at 2:27 AM, Norman Gray wrote: > What this looks consistent with -- given that the vertical axis is a > fraction not absolute -- is that these terms have stayed roughly constant > in popularity, but the rest of Reddit has grown exponentially, talking

Re: [racket-users] Whalesong instead of Clojurescript

2016-08-25 Thread Daniel Prager
There's also the lighter-weight Urlang: https://github.com/soegaard/urlang -- You received this message because you are subscribed to the Google Groups "Racket Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to

Re: [racket-users] fivethirtyeight indexes reddit

2016-08-25 Thread Andreas Perstinger
On 2016-08-25 18:27, Norman Gray wrote: What this looks consistent with -- given that the vertical axis is a fraction not absolute -- is that these terms have stayed roughly constant in popularity, but the rest of Reddit has grown exponentially, talking about stuff _other than_ programming

Re: [racket-users] fivethirtyeight indexes reddit

2016-08-25 Thread Norman Gray
Greetings. On 25 Aug 2016, at 17:10, 'John Clements' via Racket Users wrote: http://projects.fivethirtyeight.com/reddit-ngram/?keyword=racket=20071014=20150831=10 (It’s also a bit sobering to see what happened to Haskell) That's interesting, but what's happened to Haskell in that graph

Re: [racket-users] fivethirtyeight indexes reddit

2016-08-25 Thread Robby Findler
Not just Haskell, apparently? http://projects.fivethirtyeight.com/reddit-ngram/?keyword=c++.python.ruby.javascript.java.programming=20071015=20150831=22 On Thu, Aug 25, 2016 at 11:10 AM, 'John Clements' via Racket Users wrote: > Apologies to everyone that’s seen

[racket-users] fivethirtyeight indexes reddit

2016-08-25 Thread 'John Clements' via Racket Users
Apologies to everyone that’s seen this; much like google search trends, but on reddit. http://projects.fivethirtyeight.com/reddit-ngram/?keyword=racket=20071014=20150831=10 (It’s also a bit sobering to see what happened to Haskell) John -- You received this message because you are subscribed

Re: [racket-users] Whalesong instead of Clojurescript

2016-08-25 Thread Matthias Felleisen
The Bootstrap outreach program still uses it for its first course. > On Aug 25, 2016, at 9:53 AM, tbrooke wrote: > > I briefly looked at Whalesong and I was wondering if anyone is using it and > if it is mature and ready to use. I use Clojurescript and it seems to me

[racket-users] Whalesong instead of Clojurescript

2016-08-25 Thread tbrooke
I briefly looked at Whalesong and I was wondering if anyone is using it and if it is mature and ready to use. I use Clojurescript and it seems to me that Whalesong should be equivalent with the advantage of allowing me to work in Racket. -- You received this message because you are subscribed