87 points | by ibobev 12 hours ago ago
8 comments
Very cool! I can’t imagine writing everything in C, I’m currently learning this in OCaml which seems nicer for a project like this.
Perhaps using this: https://github.com/nlsandler/nqcc2
?
Wow that's super nostalgic. You're on a great path! After doing something similar, I switched to Haskell. Give it a go if you have the time.
Having it all in C brings back memories from "Compiler Design in C" a famous book for its time, printed in 1990.
https://holub.com/compiler/
I wrote a book in its spirit in 2012 with a second edition in 2022: http://t3x.org/reload/
It is called Practical Compiler Construction. The Compiler Writing Journey is based on it.
Thanks for your amazing work!
How much of Claude was used?
It was started 7 years ago.
Very cool! I can’t imagine writing everything in C, I’m currently learning this in OCaml which seems nicer for a project like this.
Perhaps using this: https://github.com/nlsandler/nqcc2
?
Wow that's super nostalgic. You're on a great path! After doing something similar, I switched to Haskell. Give it a go if you have the time.
Having it all in C brings back memories from "Compiler Design in C" a famous book for its time, printed in 1990.
https://holub.com/compiler/
I wrote a book in its spirit in 2012 with a second edition in 2022: http://t3x.org/reload/
It is called Practical Compiler Construction. The Compiler Writing Journey is based on it.
Thanks for your amazing work!
How much of Claude was used?
It was started 7 years ago.