Skip to content
HomeVideosBooks
AllTopicsTrends
BlogsPodcasts
HistoryListsWatch laterLiked videosFollowing

The videos, books, blogs and podcasts Hacker News keeps recommending, all in one place.

VideosBooksBlogsPodcastsAboutPrivacySettings

Data from Hacker News, HackerTube, HackerBooks, HackerBlogs and Open Library. Credits · Not affiliated with Y Combinator.

HomeVideosBooksBlogsPodcasts
Ctrl K
    Cover of Programming Language Pragmatics

    Programming Language Pragmatics

    Michael L. Scott · 1999

    "Programming Language Pragmatics addresses the fundamental principles at work in the most important contemporary languages, highlights the critical relationship between language design and language implementation, and devotes special attention to issues of importance to the expert programmer. Thanks to its rigorous but accessible teaching style, you'll emerge better prepared to choose the best language for particular projects, to make more effective use of languages you already know, and to learn new languages quickly and completely."--BOOK JACKET.

    Computer ScienceProgramming
    Open LibraryAmazon
    Stats for nerds
    31recommend
    54mentions
    40people
    2008–2026years
    80% recommend20% neutral

    Mentions per year

    2008201020122014201620182020202220242026

    What Hacker News says

    1. sieveFeb 2025
      I got started from the books that were available here in the early 2000s. The one I like the most is "Programming Language Pragmatics" by Michael Scott, mainly for its simplicity. Then there is "Advanced Compiler Design and Implementation" by Steven Muchnick. I have Allen-Kennedy's book too, but I think it went over my head when I went through it. So I kept it aside.

      "Engineering a Compiler" is quite approachable.

      But, once you know the basics, you get the best bang-for-the-buck by looking at source code of various compilers and virtual machines.

      thread
    2. 8338550bff96May 2024
      If I were to pick one book that has had the most impact on how I think about programming languages it would be the textbook Programming Language Pragmatics by Michael Scott.

      https://www.goodreads.com/book/show/89197.Programming_Langua...

      thread
    3. jonathanstrangeSep 2022
      Just a few non-fiction books from me this time:

      - Lewis Dartnell The Knowledge: This book made me realize the fragility of modern technology and how it is funded on chemical industry, shipping, oil, and the exploitation of natural resources.

      - Peter P. Wakker Prospect Theory: This is not an easy reading but it contains one of the few understandable and detailed explanations of rank-dependent utility theory and why early probability-weighing approaches were incorrect; a must read for anyone interested in rational decision making.

      - Vöcking, Alt, et. al Taschenbuch der Algorithmen: This marvelous Springer book unfortunately only seems to be available in German; it's not at all what the title suggests, but rather a book that brings the fun back to programming, like an 80s hobby programming book; various contributors lay out their favorite algorithms and techniques in short, easy to read chapters. It's like Christmas for programmers.

      - Rosen Handbook of Discrete and Combinatorial Mathematics (Indian Edition): believe it or not, this handbook has helped me a lot with my work in philosophy; it's also the almost ideal handbook style, extremely concise but also very understandable. Of course, I didn't "read" this book but using it for reference was definitely worth it.

      - Scott Programming Language Pragmatics: Anybody interested in creating a programming language should read this, preferably the latest edition (I don't know if it's still updated, though); I'm convinced that even though it mostly covers "generation 4" languages and earlier, if more language designers read this book, new programming languages would be better; not that anybody needs new programming languages, Common Lisp and Ada are perfectly fine.

      - Jean-Claude Ellena Atlas of Perfumed Botany: Although it sounds a bit pretentious at times like the perfume market is in general (it's 90% marketing of emotions, 10% about the scent), this is a really nice and passionate book about perfumery with beautiful illustrations, written by one of the most renowned contemporary perfumers. It's also surprisingly cheap and by MIT Press.

      - Duff / Gormly First Aid and Wilderness Medicine: This is perhaps the best first aid book out there. Of course, it doesn't replace a practical course but it's a great reference and generally good reading if you're interested in the topic.

      There was another book I read as a child in German, translated from English. It fascinated me and was the main reason why I got interested in AI and ultimately studied philosophy and linguistics. It was about the Schank/Riesbeck group or some similar symbolic AI research at the time (during the 70s or early 80s) and mentioned meetings where members of the group watched Mork from Ork and analyzed Mork's misunderstandings. If anybody has an idea which book that was, please let me know!

      thread
    4. BostonianFeb 2022
      There are courses on programming languages in general for CS majors, and textbooks for those courses can be found by searching "programming languages" on Amazon, for example

      Concepts of Programming Languages (11th Edition) by Robert W. Sebesta

      Programming Language Pragmatics by Scott, Michael L.

      thread
    5. jasoneFeb 2022
      The single best book I've encountered for this sort of learning is Programming Language Pragmatics, by Michael L Scott. I read an earlier edition (3rd?) cover to cover well after entering industry, and it was invaluable for both broadening my perspective and fully grasping many foundational concepts.
      thread
    6. jasonwatkinspdxAug 2021
      One of my favorite PLT related books is Programming Language Pragmatics, which spends a non trivial section near the beginning on just this issue. Among other things it's very useful to continue a best effort parse on the remainder after the parse error so you can show more syntax errors vs merely the first. But this is something of a nebulous art to accomplish.

      I agree that I think generators could address this issue, they simply haven't.

      Also I'm particularly fond of PEGs, because they match the intuitiveness of recursive descent parsers with a generator suitable formalism (though they have their rough edges as well).

      thread

    Related

    Cover of The Pragmatic Programmer
    2007–2026

    The Pragmatic Programmer

    Andy Hunt
    353 recommend · 700
    Cover of Formal syntax and semantics of programming languages
    2019–2025

    Formal syntax and semantics of programming languages

    Kenneth Slonneger
    2 recommend · 5
    Cover of Essentials of programming languages
    2008–2026

    Essentials of programming languages

    Daniel P. Friedman
    43 recommend · 76
    Cover of Advanced programming language design
    2015–2026

    Advanced programming language design

    Raphael A. Finkel
    2 recommend · 7
    Cover of Concepts of programming languages
    2011–2026

    Concepts of programming languages

    Robert W. Sebesta
    4 recommend · 7
    Cover of Modern compiler design
    2008–2026

    Modern compiler design

    Dick Grune
    12 recommend · 30
    Cover of Code Complete
    2007–2026

    Code Complete

    Steve McConnell
    393 recommend · 894
    Cover of The art of computer programming
    2007–2026

    The art of computer programming

    Donald Knuth
    336 recommend · 1,799