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 <ibarl...@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 that situation? > > --Ian > > > -- > 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 racket-users+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/racket-users/88284b4f-7772-4fde-b754-6e06e6dbad57n%40googlegroups.com > <https://groups.google.com/d/msgid/racket-users/88284b4f-7772-4fde-b754-6e06e6dbad57n%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- 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 racket-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/racket-users/CAL3TdOMfD-zB7yfTFcykBA6mDzLDNBOcMM%3DFpxdLydmx6SGWTA%40mail.gmail.com.