A much less involved language-building tutorial that's available now is Beautiful Racket.[0] Racket is a Scheme, but it's also specially outfitted to be a language workbench.
Show HN: Crafting Interpreters – A handbook for making programming languages
11–20 of 77 posts
Re: Show HN: Crafting Interpreters – A handbook for making programming languages
#12Another great-looking book on making dynamic languages. There's been some good ones recently, and this one looks like another good one covering how to make a basic, interpreted language. Some of us have written 1 or 2 dynamic, interpreted languages, feel pretty comfortable with those concepts, and are interested in transiting to more advanced, static type systems and writing a good type checker. Anyone up for writing…
I assume you're talking about something like "Modern Compiler Implementation in ML"? That book is still a good starting point, and once you get a basic implementation going you'll be in a good position to start learning about and implementing more advanced features. You'll end up teaching yourself as you figure out how to add features to your own codebase.
edit: fix title
Re: Show HN: Crafting Interpreters – A handbook for making programming languages
#13Another great-looking book on making dynamic languages. There's been some good ones recently, and this one looks like another good one covering how to make a basic, interpreted language. Some of us have written 1 or 2 dynamic, interpreted languages, feel pretty comfortable with those concepts, and are interested in transiting to more advanced, static type systems and writing a good type checker. Anyone up for writing…
Re: Show HN: Crafting Interpreters – A handbook for making programming languages
#14Thank you so much for the book, please, continue! I am currently working on Scheme R5RS implementation in Java. It is a hobby project, but I'm really enjoying it. It is somewhat enlightening. Look forward to reading the Optimization chapter: I couldn't find much useful and practical info on that. I think it is quite easy to implement your interpreter, but it is really difficult (at least for me) to make it fast. Can…
http://www.cs.indiana.edu/~dyb/
(See also Lua's upvalues for a way to optimize closure variable access that's a bit simpler than his display closures).
Re: Show HN: Crafting Interpreters – A handbook for making programming languages
#15Re: Show HN: Crafting Interpreters – A handbook for making programming languages
#16Another great-looking book on making dynamic languages. There's been some good ones recently, and this one looks like another good one covering how to make a basic, interpreted language. Some of us have written 1 or 2 dynamic, interpreted languages, feel pretty comfortable with those concepts, and are interested in transiting to more advanced, static type systems and writing a good type checker. Anyone up for writing…
Are static type systems more advanced than dynamic type systems? This sounds surprising, given how much more one can do with a dynamic type system.
Re: Show HN: Crafting Interpreters – A handbook for making programming languages
#17Re: Show HN: Crafting Interpreters – A handbook for making programming languages
#18Another great-looking book on making dynamic languages. There's been some good ones recently, and this one looks like another good one covering how to make a basic, interpreted language. Some of us have written 1 or 2 dynamic, interpreted languages, feel pretty comfortable with those concepts, and are interested in transiting to more advanced, static type systems and writing a good type checker. Anyone up for writing…
> more advanced, static type systems Are static type systems more advanced than dynamic type systems? This sounds surprising, given how much more one can do with a dynamic type system.
Re: Show HN: Crafting Interpreters – A handbook for making programming languages
#19Another great-looking book on making dynamic languages. There's been some good ones recently, and this one looks like another good one covering how to make a basic, interpreted language. Some of us have written 1 or 2 dynamic, interpreted languages, feel pretty comfortable with those concepts, and are interested in transiting to more advanced, static type systems and writing a good type checker. Anyone up for writing…
Re: Show HN: Crafting Interpreters – A handbook for making programming languages
#20Another great-looking book on making dynamic languages. There's been some good ones recently, and this one looks like another good one covering how to make a basic, interpreted language. Some of us have written 1 or 2 dynamic, interpreted languages, feel pretty comfortable with those concepts, and are interested in transiting to more advanced, static type systems and writing a good type checker. Anyone up for writing…
> more advanced, static type systems Are static type systems more advanced than dynamic type systems? This sounds surprising, given how much more one can do with a dynamic type system.