Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
michaelwww
· 4y ago · 0 comments
I like the TypeScript compiler source (in TypeScript.) It's clean, easy on the eyes with well placed white space and just the right amount of comments.
https://github.com/microsoft/TypeScript/blob/main/src/compil...
Comments
[–]
donatj
4y ago
It's got more regular expressions in it and I feel like any self-respecting compiler should have.
[–]
brandly
4y ago
And the type checker is a single 45k line file!
https://github.com/microsoft/TypeScript/blob/main/src/compil...