
slack1
2018-6-13 14:07:51
Is there a way to quickly jump to the Racket source code from DrRacket or the docs?

dan
2018-6-13 14:09:30
In DrRacket you should be able to right-click on an identifier and either “Jump to Binding Occurence” or “Open Defining File” depending on where the identifier is defined

slack1
2018-6-13 14:13:02
does that work for Racket core functions?

samth
2018-6-13 14:13:28
@slack1 for functions implemented in the runtime, no (those are written in C)

samth
2018-6-13 14:13:40
for most functions, though, it does work

slack1
2018-6-13 14:13:57
ah I see

samth
2018-6-13 14:14:19
such as the implementation of syntax-case
or file->string

krismicinski
2018-6-13 14:19:50
It’s actually quite interesting to me that syntax-case is implemented in C. Makes sense, but would not necessarily have thought that at first glance.

samth
2018-6-13 14:20:27
@krismicinski no, sorry, I must have phrased that confusingly

samth
2018-6-13 14:20:51
neither syntax-case
nor file->string
are implemented in C