Remix.run Logo
Nanopass Framework: Clean Compiler Creation Language(nanopass.org)
46 points by NordStreamYacht 4 days ago | 3 comments
verdagon 16 minutes ago | parent | next [-]

I'm often skeptical of the desire to create a lot of passes. In the early Vale compiler, and in the Mojo compiler, we were paying a lot of interest on tech debt because features were put in the wrong pass. We often incurred more complexity trying to make a concept work across passes than we would have had in fewer, larger passes. I imagine this also has analogies to microservices in some way. Maybe other compiler people can weigh in here on the correct number/kind of passes.

onlyrealcuzzo 4 minutes ago | parent [-]

Do you have an article on lessons learned?

I'm creating a language/compiler now, and I'm quite certain that I did not have enough passes initially, but I hope I'm at a good spot now - but time will tell.

Mathnerd314 2 hours ago | parent | prev [-]

website is not up to date, https://www.youtube.com/watch?v=lqVN1fGNpZw is not on there