a thoughtful web.
Good ideas and conversation. No ads, no tracking.   Login or Take a Tour!
comment by user-inactivated
user-inactivated  ·  4079 days ago  ·  link  ·    ·  parent  ·  post: Best place to learn how to program in different languages

I've only looked at the C version, but I like what I see, I've been using it to learn C to help when making a compiler, but it's funny, most compiler books are for other languages. I'd figure a lot of compilers would be written in C, but guess not.





user-inactivated  ·  4078 days ago  ·  link  ·  

Most real compilers are written in C, but it's not the best language to teach compiler-writing in, since many students don't know C and it's a difficult enough subject without having to teach C too. That said, the Dragon Book is still the One True Compilers Text.

user-inactivated  ·  4078 days ago  ·  link  ·  

As a fifteen-year-old, I find that book infinitely unapproachable. Perhaps as a fifteen-year-old, I shouldn't be attempting to make compilers...but I still want to.

user-inactivated  ·  4078 days ago  ·  link  ·  

It's never true that you shouldn't study something, but yeah, that's going to be rough. I think I recall you mentioning being familiar with Scheme in another thread, in which case you might try Essentials of Programming Languages followed by Lisp in Small Pieces.