#1,012 in Computers & technology books
Use arrows to jump to the previous/next product

Reddit mentions of Threaded Interpretive Languages: Their Design and Implementation

Sentiment score: 3
Reddit mentions: 6

We found 6 Reddit mentions of Threaded Interpretive Languages: Their Design and Implementation. Here are the top ones.

Threaded Interpretive Languages: Their Design and Implementation
Buying options
View on Amazon.com
or
    Features:
  • Ten Speed Press
Specs:
Number of items1
Weight1.25 Pounds

idea-bulb Interested in what Redditors like? Check out our Shuffle feature

Shuffle: random products popular on Reddit

Found 6 comments on Threaded Interpretive Languages: Their Design and Implementation:

u/[deleted] · 7 pointsr/programming

There's a great book that taught me tons and tons about programming, called Threaded Interpreted Languages: Their Design and Implementation by R.G. Loeliger. Basically he teaches you how Forth-like languages work, and step by step how to write your own interpreter from scratch. Understanding the central loop was for me a mind-bending exercise that kind of transformed how I thought about software. Definitely one of the best books I ever bought.

u/its-the-new-style · 4 pointsr/Forth

Here's the instructions

http://www.amazon.co.uk/Threaded-Interpretive-Languages-R-G-Loeliger/dp/007038360X

You can find it as a pdf online with google foo

u/notfancy · 4 pointsr/programming

I've updated the list, as I remembered Wirth's book and that got me a couple more hits. Chapter 8 of Watt's book is devoted to interpretation but the treatment is cursory, since the focus is on compilation.

I can't think from the top of my mind of any books dealing specifically with interpretation techniques for imperative languages. I can recommend some nice books on vaguely related techniques:

  • Loeliger's delightful Threaded Interpretive Languages (Amazon link, but Google around) is specifically about Forth but is a good start for building threaded stack-based VMs (i.e., like for pre-JIT Java.) If threaded interpreters pique your interest, there are classic treatments available on the Web, especially Anton Ertl's work (PDF)
  • Michael Gordon's Programming Language Theory and its Implementation (Amazon link, but Google around) covers interpreters for imperative, functional and logic languages, but his implementations are in Lisp of all languages.
  • Kernighan and Pike's must-read The Unix Programming Environment (PDF) covers writing the interpreter for a little language by AST traversal in one of the latter chapters

    Hope this helps, as it is very much a mixed bag of recommendations.
u/mnp · 3 pointsr/tinycode

Here's a neat little book if anyone is looking for a lot more details about writing one of these.

http://www.amazon.com/Threaded-Interpretive-Languages-Design-Implementation/dp/007038360X

u/TheForthRises · 2 pointsr/programmingcirclejerk

If you really want the kid to learn, all they need to do is [bootstrap their very own Forth on Z80 and learn to enjoy the pain power of Forth] (https://www.amazon.com/Threaded-Interpretive-Languages-Design-Implementation/dp/007038360X).

u/metamatic · 1 pointr/programming

This book basically goes through the design and implementation of a complete Forth system in assembly language, complete with editor, compiler and assembler.