Nanopass compiler framework (used by Chez Scheme)

https://docs.racket-lang.org/nanopass

(I can help with moderation if needed.)

8 points · 2 comments · view on lemmy.world

2 Comments

mzan@programming.dev · 3 pts · 3y

This is its main web site https://nanopass.org/index.html

Nanopass is a good approach for writing sophisticated compilers, because one can compose many analysis and transformation pass on the AST. For example, Chez Scheme compiler has an extremely good ratio between lines of code and features. It is one of the fastest Scheme compiler, and Scheme is a language difficult to optimize.

FilthySchemer@programming.dev · 2 pts · 3y

At first I was disappointed there wasn't a Scheme community, but I'm already pleasantly surprised