Ask HN: Resources for creating a programming language

5 points by jwdunne ↗ HN
I've had an ever growing desire to learn how to create my own programming language for some time now. Although I do know there are mature and more than capable languages available, I'd really love to learn how to do it and understand the processes involved.

I'm just wondering if any one had any suggestions for resources and literature, which would be useful and beneficial for learning this sort of stuff. Also, if you have any general advice or suggestions to help me a long the way, that'd be much appreciated too.

As I said, I know that it seems like I'm reinventing the wheel but this is my idea of fun and I'm sure most of you are the same (I'm assuming a lot there though)! Nothing beats getting home at night and having an all-night hacking session in my opinion!

Anyway, much thanks for taking notice and thanks in advance for any replies. Also, I apologise for any spelling, grammar and/or punctuation mistakes. I've been up all night playing around in C, so I guess it's understandable haha!<p>James.

4 comments

[ 3.0 ms ] story [ 19.7 ms ] thread
Are you looking for information on writing compilers as well, or just language design? If the former, I suggest Modern Compiler Implementation in (C|Java|ML) by Andrew Appel, as well as the de facto `Dragon Book' (Compilers, Principles, Techniques and Tools).