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 Build Your Own Programming Language

    Build Your Own Programming Language

    Clinton L. Jeffery · 2021

    Programming
    Open LibraryAmazon
    Stats for nerds
    1recommend
    4mentions
    4people
    2015–2022years
    25% recommend75% neutral

    Mentions per year

    20152016201720182019202020212022

    What Hacker News says

    1. sargstuffAug 2022
      Older editions have solutions to the exercises in book available on line (via search engine such as google)

      ### Some of the following assume an advanced backround:

      Structure and Interpretation of Computer Programs , Abelson & Sussman &

      Engineering a compiler, K.D. Cooper & L. Torczon

      Modern Compiler Design (Worldwide Series in Computer Science),

      Build Your Own Programming Language: A programmer's guide to designing compilers, interpreters, and DSLs for solving modern computing problems, C Jeffery

      ### Alternate suggestions:

      Aho et al. book covers quite a broad variety of topics/discussions. There are resources that cover more current approaches / more indepth for a given topic/specific subject matter than would be possible in Aho et.

      Depending on requirements/needs, on-line resources/courses/topics can provide access to more modern/quicker feedback:

      search compiler on https://www.geeksforgeeks.org/

      software perspectiv, https://program-transformation.org/

      research intensive, look at specific book/documentation on how a language is/was implimented, aka cpython, java, compiling lisp, smalltalk-80, forth

      General resource sites (per looking for something less expensive): https://github.com/aalhour/awesome-compilers / https://bernsteinbear.com/pl-resources/

      thread
    2. open-source-uxDec 2022
      This is the first time Unicon has made it to the HN front page. I find it interesting a language with more than 20 years of history is barely mentioned in HN discussions over the years. (Try a HN search to see yourself). Just an observation how some languages struggle with visibility.

      One of the creator's of Unicon is Clint Jeffery who has published a recent book: Build Your Own Programming Language (Dec 2021)

      https://www.packtpub.com/product/build-your-own-programming-...

      thread
    3. wrpJun 2022
      The literature on interpreters (vs. compilers) is pretty thin. I enjoyed reading these:

      1. Peter John Brown. 1979. Writing Interactive Compilers and Interpreters.

      2. Timothy Budd. 1987. A Little Smalltalk.

      3. Ralph E. Griswold. 2000. The Icon Programming Language, 3e.

      4. Pat Shaughnessy. 2013. Ruby Under a Microscope: An Illustrated Guide to Ruby Internals.

      This is a new one I haven't read yet, but it looks very practical:

      5. Clinton L. Jeffery. 2021. Build Your Own Programming Language: A Programmer's Guide to Designing Compilers, Interpreters, and DSLs for Solving Modern Computing Problems.

      I don't know anything about this one, but people have told me they prefer the first edition:

      6. Ronald Mak. 1991. Writing Compilers and Interpreters: An Applied Approach.

      thread
    4. jlg23Oct 2015
      > If you're looking to learn C, or you've ever wondered how to build your own programming language, this is the book for you. In just a few lines of code, I'll teach you how to use C, and together, we'll start building your very own language.

      Agreed on "a few lines", but why should I buy a whole book on this? I'd really appreciate if the OP tried not to hijack hacker feeds for promotion. At least in my book, (s)he is blacklisted for eternity.

      thread

    Related

    Cover of Build Your Own Lisp
    2014–2026

    Build Your Own Lisp

    Mr Daniel Holden
    23 recommend · 47
    Cover of The Pragmatic Programmer
    2007–2026

    The Pragmatic Programmer

    Andy Hunt
    353 recommend · 700
    Cover of Code Complete
    2007–2026

    Code Complete

    Steve McConnell
    393 recommend · 894
    Cover of Essentials of programming languages
    2008–2026

    Essentials of programming languages

    Daniel P. Friedman
    43 recommend · 76
    Cover of The C Programming Language
    2007–2026

    The C Programming Language

    Brian W. Kernighan
    246 recommend · 604
    Cover of The art of computer programming
    2007–2026

    The art of computer programming

    Donald Knuth
    336 recommend · 1,799
    Cover of Types and Programming Languages
    2008–2026

    Types and Programming Languages

    Benjamin C. Pierce
    132 recommend · 321
    Cover of The Rust Programming Language
    2015–2026

    The Rust Programming Language

    Steve Klabnik
    170 recommend · 257