Re: [racket-users] identifier-out-of-context when trying to make a debug-repl

2016-07-13 Thread Alex Knauth
> On Jul 13, 2016, at 7:46 PM, Robby Findler > wrote: > > I don't think that either of the options I suggested require you to do that. > > The debugger works as a post-expansion process that rewrites the > program. A language could use a similar approach, but work only for > the files in that

Re: [racket-users] identifier-out-of-context when trying to make a debug-repl

2016-07-13 Thread Robby Findler
I don't think that either of the options I suggested require you to do that. The debugger works as a post-expansion process that rewrites the program. A language could use a similar approach, but work only for the files in that language. Robby On Wed, Jul 13, 2016 at 6:32 PM, Alex Knauth wrote:

Re: [racket-users] identifier-out-of-context when trying to make a debug-repl

2016-07-13 Thread Alex Knauth
> On Jul 13, 2016, at 7:25 PM, Robby Findler > wrote: > > You could define a language. Or you could do what DrRacket's debugger is > doing? > > Robby That would would if I was willing to re-define every possible binding form that could ever be used. But then if I import something like `matc

Re: [racket-users] identifier-out-of-context when trying to make a debug-repl

2016-07-13 Thread Robby Findler
You could define a language. Or you could do what DrRacket's debugger is doing? Robby On Wed, Jul 13, 2016 at 2:33 PM, Alex Knauth wrote: > >> On Jul 13, 2016, at 3:28 PM, Matthew Flatt wrote: >> >> At Wed, 13 Jul 2016 14:16:11 -0400, Alex Knauth wrote: >>> >>> Thanks. So defining it as a funct

Re: [racket-users] Re: Racket Docker images from Alpine

2016-07-13 Thread Marc Burns
Hi Juan, > Great work!. Just a few comments: > ... Thank you; I've integrated your suggestions. I'll open a PR to get rid of these patches when I come back to this tonight. I've pushed a new image. Cheers, Marc -- You received this message because you are subscribed to the Google Groups "Rac

Re: [racket-users] identifier-out-of-context when trying to make a debug-repl

2016-07-13 Thread Alex Knauth
> On Jul 13, 2016, at 3:28 PM, Matthew Flatt wrote: > > At Wed, 13 Jul 2016 14:16:11 -0400, Alex Knauth wrote: >> >> Thanks. So defining it as a function won't work. But if I define it as a >> macro, can I get more information out of it? > > Instead of > > (define (f x y) > ;; x and y are

Re: [racket-users] identifier-out-of-context when trying to make a debug-repl

2016-07-13 Thread Matthew Flatt
At Wed, 13 Jul 2016 14:16:11 -0400, Alex Knauth wrote: > > > On Jul 13, 2016, at 11:22 AM, Matthew Flatt wrote: > > > > At Wed, 13 Jul 2016 11:10:30 -0400, Alex Knauth wrote: > >> Ok. Is there a way to set up a namespace that would have those local > >> variables? Would a `(#%variable-reference

Re: [racket-users] identifier-out-of-context when trying to make a debug-repl

2016-07-13 Thread Alex Knauth
> On Jul 13, 2016, at 11:22 AM, Matthew Flatt wrote: > > At Wed, 13 Jul 2016 11:10:30 -0400, Alex Knauth wrote: >> Ok. Is there a way to set up a namespace that would have those local >> variables? Would a `(#%variable-reference)` help here? Or is there a way to >> get all of the identifiers f

[racket-users] Re: Racket Docker images from Alpine

2016-07-13 Thread Juan Francisco Cantero Hurtado
On 13/07/16 05:20, Marc Burns wrote: Hi all, I remember this topic came up on the list a while back. I've made a Docker image of the latest Racket from alpine 3.3 with just musl libc. I had to monkey patch some Racket internals to get this working, so it might be badly and subtly broken. Feedbac

Re: [racket-users] identifier-out-of-context when trying to make a debug-repl

2016-07-13 Thread Matthew Flatt
At Wed, 13 Jul 2016 11:10:30 -0400, Alex Knauth wrote: > Ok. Is there a way to set up a namespace that would have those local > variables? Would a `(#%variable-reference)` help here? Or is there a way to > get all of the identifiers from the lexical context of a syntax object? No, there's no wa

Re: [racket-users] identifier-out-of-context when trying to make a debug-repl

2016-07-13 Thread Alex Knauth
> On Sun, Jul 10, 2016 at 8:29 PM, Alex Knauth wrote: >> I'm doing a weird thing. I'm trying to use the lexical information from a >> `(quote-syntax here #:local)` syntax object to access local variables. It >> can distinguish between bound and unbound identifiers, because it raises >> normal

Re: [racket-users] Re: Racket Docker images from Alpine

2016-07-13 Thread Daniel Brunner
Am 13.07.2016 um 13:31 schrieb Jack Firth: > On Tuesday, July 12, 2016 at 8:20:55 PM UTC-7, m4burns wrote: >> >> Enjoy! >> >> Marc > > This is fantastic! I'm glad somebody figured out how to do this. Those more > familiar with Racket's internals can comment on what implications using musl > has,

Re: [racket-users] TR could be even more spectacularly awesome:

2016-07-13 Thread Matthias Felleisen
Cool, we can pick the best version :-)) > On Jul 13, 2016, at 7:27 AM, Jack Firth wrote: > > On Tuesday, July 12, 2016 at 2:36:24 PM UTC-7, Sam Tobin-Hochstadt wrote: >> Could this be an API like the one for tooltips? IOW, some sort of general >> warning with a message and a syntax location?

[racket-users] Re: Racket Docker images from Alpine

2016-07-13 Thread Jack Firth
On Tuesday, July 12, 2016 at 8:20:55 PM UTC-7, m4burns wrote: > Hi all, > > I remember this topic came up on the list a while back. I've made a > Docker image of the latest Racket from alpine 3.3 with just musl libc. I > had to monkey patch some Racket internals to get this working, so it > mig

Re: [racket-users] TR could be even more spectacularly awesome:

2016-07-13 Thread Jack Firth
On Tuesday, July 12, 2016 at 2:36:24 PM UTC-7, Sam Tobin-Hochstadt wrote: > Could this be an API like the one for tooltips? IOW, some sort of general > warning with a message and a syntax location? I'd just like to interject quickly and say that's what I'm working on for RacketCon :) -- You re