Re: [racket-users] Clarify project policy on racket2 syntax

2019-08-12 Thread Brian Adkins
On Monday, August 12, 2019 at 10:50:03 AM UTC-4, Neil Van Dyke wrote: > > Robby, I'm still not certain we all have a shared understanding of some > of the concerns and where we all stand, so please let me try to get at > that some of that: > > > As for adopting-new-syntax vs backwards-compatibil

Re: [racket-users] detecting a recursive call?

2019-08-12 Thread Kees-Jochem Wehrmeijer
Thanks everyone! I'm gonna have a closer look at those. What I ended up doing was something like this: (struct Wrapper (exp arg) #:mutable) (define-syntax-rule (define-wrapper name exp) ((define name (Wrapper (delay exp) #f))) (define (Wrapper->fn w) (lambda (arg) (if (Wrapper->arg w)

Re: [racket-users] Code generation options for a self-made compiler

2019-08-12 Thread Matthew Butterick
+ use the `raco-commands` key in "info.rkt" to create new `raco myprog ···` commands + use `racket/cmdline` to parse the input options to these commands. > On 12 Aug 19, at 7:34 AM, Dmitry Pavlov wrote: > > With C, everyone is happy with macros and built-in options, e. g. > > gcc -O3 -DREA

[racket-users] Re: GitHub ‘template repository’ functionality

2019-08-12 Thread Ryan Kramer
Ah, that makes sense. I guess I didn't realize (or took for granted) that `raco pkg new` was doing all that. With that in mind, it certainly does make more sense to run `raco pkg new` locally. -- You received this message because you are subscribed to the Google Groups "Racket Users" group. To

Re: [racket-users] Clarify project policy on racket2 syntax

2019-08-12 Thread Robby Findler
Points well taken, Neil. My messages were probably better unsent. Robby On Mon, Aug 12, 2019 at 9:50 AM Neil Van Dyke wrote: > > Robby, I'm still not certain we all have a shared understanding of some > of the concerns and where we all stand, so please let me try to get at > that some of that: >

[racket-users] on-boarding new racketeers

2019-08-12 Thread Stephen De Gabrielle
Hi, I've been thinking about small things that can be done to lower the barriers to entry to the racket community, and I've come up with some ideas! 1. Adopts the standard GitHub set of issue labels* for all active repositories, only deviating where necessary. Benefit - This would allow potential

Re: [racket-users] Clarify project policy on racket2 syntax

2019-08-12 Thread Neil Van Dyke
Robby, I'm still not certain we all have a shared understanding of some of the concerns and where we all stand, so please let me try to get at that some of that: As for adopting-new-syntax vs backwards-compatibility, does it help if I were to tell you that anything new will always be "opt in"

[racket-users] Code generation options for a self-made compiler

2019-08-12 Thread Dmitry Pavlov
Hello, I posted this question once, nobody answered, this is a second try. I believe there should be a solution because the problem seems rather common. See, I have a DSL compiler implemented in Racket as a #lang, syntax-parse etc. Like most compilers, it can emit somewhat diifferent code from th

Re: [racket-users] Clarify project policy on racket2 syntax

2019-08-12 Thread Vincent St-Amour
On Mon, 12 Aug 2019 07:49:30 -0500, Robby Findler wrote: > > There are piles of lecture notes (in the form of slide presentations > written in Racket) from the late 90s (so not in any continuous > integration system anywhere, as far as I know) that still run fine in > today's Racket for example.

Re: [racket-users] Clarify project policy on racket2 syntax

2019-08-12 Thread Robby Findler
Sounds like you're going to take a wait-and-see attitude, which sounds wise to me, but you are also welcome to participate in the discussion! As for adopting-new-syntax vs backwards-compatibility, does it help if I were to tell you that anything new will always be "opt in", in the sense that exist