mildc055ee
2021-11-24 09:53:19

Is there anyone familiar with racket’s source code? I want to know where is the implementation of reading and parsing s-exp from input file. (I have tried to find it, but there are so many files that have similar name, so I got confused :( )


laurent.orseau
2021-11-24 10:00:16

You mean the read function? See below. If you mean file->value it’s in racket/collects/racket/file.rkt


sorawee
2021-11-24 10:01:02

read should be in the expander, no?


laurent.orseau
2021-11-24 10:01:04

In DrRacket, just type the name of the function you are looking for, then do a right-click, and “Open defining file”, after making sure that your program compiles



laurent.orseau
2021-11-24 10:01:45

Right, where did I get this idea? :thinking_face:



sorawee
2021-11-24 10:02:37

I bet it’s implemented in C before Racket 7.0 :slightly_smiling_face:


laurent.orseau
2021-11-24 10:03:36

Ah, that could explain it :smile: I think a large part of my racket knowledge is stuck to old obsolete versions…


sw5355700
2021-11-24 18:32:36

What do racket enthusiasts do for work?


spdegabrielle
2021-11-24 19:30:50

I’m a product manager at a small ISV, but I think most are professional developers. There are a few compsci and CSE academics+ teachers, some retired and some recreational programmers.


spdegabrielle
2021-11-24 19:41:06

ben.knoble
2021-11-24 20:36:54

I’m currently working at CapitalOne and surreptitiously using Racket to build a lang/repl/cli as a front-end for an http-client for an internal service


spdegabrielle
2021-11-24 20:37:29

That sounds cool!


ben.knoble
2021-11-24 20:37:31

But there’s a non-small chance I end up back in academia or related spheres :slightly_smiling_face:


ben.knoble
2021-11-24 20:37:35

Thanks!


ben.knoble
2021-11-24 20:38:23

(Surreptitiously because C1 is trying to pare down the list of approved langs, and Racket is not among them, a strategy which I vehemently disagree with. My team knows and doesn’t care, yet, but we’ll see what happens…)


spdegabrielle
2021-11-24 20:39:22

RacketScript and Urlang? They can’t get rid of browsers!


gknauth
2021-11-24 22:24:40

I’m a team lead developer at AccuWeather.