implementing languages in Racket

tags : [[programming language implementation]] [[Racket]]

[[Racket]] has a lot of tools for implementing new programming languages.

Process

In general, there are two steps to implement a new language in Racket: you must first implement a reader and then an expander.

Reader

The reader is like a parser. It takes text and converts it into [[s-expressions]].

Expander

The expander is what either generates Racket code or otherwise how the s-expressions from the reader correspond to Racket code.

Links

Receiving pushes... (requires JavaScript)
Loading context... (requires JavaScript)
πŸ›οΈ Stoas for [[implementing languages in racket]]
πŸ“– Open document (Hedgedoc) at https://doc.anagora.org/implementing-languages-in-racket
πŸ“– Open document (Etherpad) at https://stoa.anagora.org/p/implementing-languages-in-racket
πŸ“Ή Video conferencing space (Jitsi Meet) at https://meet.jit.si/implementing-languages-in-racket