Re: [racket-users] drracket -- getting the buffer's current filename?

2020-09-01 Thread Laurent
What do you want this for, more precisely? On Tue, Sep 1, 2020 at 3:35 PM ibar...@radford.edu wrote: > When running from inside drracket, `(find-system-path 'run-file)` > understandable returns the DrRacket executable. Is there a way for me to > further find the name of the source-file, in

Re: [racket-users] drracket -- getting the buffer's current filename?

2020-09-01 Thread Robby Findler
Not sure if this is what you want, but here's a thing: #lang racket (define-syntax (my-source stx) #`'#,(syntax-source stx)) my-source On Tue, Sep 1, 2020 at 9:36 AM ibar...@radford.edu wrote: > When running from inside drracket, `(find-system-path 'run-file)` > understandable returns the

[racket-users] drracket -- getting the buffer's current filename?

2020-09-01 Thread ibar...@radford.edu
When running from inside drracket, `(find-system-path 'run-file)` understandable returns the DrRacket executable. Is there a way for me to further find the name of the source-file, in that situation? --Ian -- You received this message because you are subscribed to the Google Groups