3 ms·
This is a great article about Racket's advanced macro systems. Greg has done great work, from Cakewalk days right up to the present. He is generous, kind, and
by keithflower 11y ago
This is a great article about Racket's advanced macro systems.
Greg has done great work, from Cakewalk days right up to the present. He is generous, kind, and a wonderful teacher. Many of us working with Racket are using his fantastic Emacs major mode for Racket:
https://github.com/greghendershott/racket-mode https://github.com/greghendershott/racket-mode
- epidemian 11y agoIndeed, it's a great introduction to Lisp-style macros in general. The author goes to great lengths explaining every concept that might be new to people unfamiliar with Lisp (like the use of car and cdr functions and their variations cadr, caddr, and so on). Side note: i really like how the syntax highlighted code includes links to the docs. You can quickly explore the definition and documentation of any function you see. It would be great if the code snippets were themselves editable and executable, enabling an even more exploratory approach to learning :)
- 59nadir 11y ago> Side note: i really like how the syntax highlighted code includes links to the docs. You can quickly explore the definition and documentation of any function you see. This is a built-in feature of Scribble (a documentation language created in Racket), so this is ingrained in the community. It's one of many things made possible by Racket's stellar macro facilities.