2min chapter

Signals and Threads cover image

An inside look at Jane Street's tech internship with Jeanne Van Briesen, Matt Else, and Grace Zhang

Signals and Threads

CHAPTER

OCaml PPX - What's the Process Like?

OCaml has this thing called PPX, which essentially allows you to extend OCaml syntax. And so the particular PPX that I got to write was one that made it a lot easier to use like a particular commonly used idiom in Incredom. So what was the process like of working on this more compiler-like part of the system? It was actually surprisingly smooth, there's some very good libraries out there that make it very easy to do transformations on OCaml's syntax. But there were definitely some tricky things like getting the source code positions to match up properly between the old tree and the new tree and stuff like that.

00:00

Get the Snipd
podcast app

Unlock the knowledge in podcasts with the podcast player of the future.
App store bannerPlay store banner

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode

Save any
moment

Hear something you like? Tap your headphones to save it with AI-generated key takeaways

Share
& Export

Send highlights to Twitter, WhatsApp or export them to Notion, Readwise & more

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode