{
    "product": {
        "slug": "crafting-interpreters",
        "name": "Crafting Interpreters",
        "kind": "book",
        "website": "https://craftinginterpreters.com/",
        "page": "https://listme.name/books/crafting-interpreters",
        "tagline": "Free web book on writing a programming language interpreter",
        "summary": "Crafting Interpreters is a book by Robert Nystrom that walks readers through building a full scripting language, from scanning and parsing to a bytecode virtual machine. The complete web version is free to read on the author's site. Print, eBook, PDF and EPUB editions are sold through the retailers the site lists.",
        "author": "Robert Nystrom",
        "formats": [
            "web",
            "pdf",
            "epub",
            "kindle",
            "print"
        ],
        "pricing": "free",
        "price_note": "Full web edition free; print and ebook editions sold separately",
        "free_to_use": true,
        "open_source": false,
        "strengths": [
            "Full book free on the web",
            "Builds two interpreters step by step",
            "Clear explanations of language internals"
        ],
        "limits": [
            "Long, with a lot of code to write",
            "Not a reference for any one language"
        ],
        "checked": "2026-10-10",
        "connected_to_publisher": false,
        "cover": "https://listme.name/assets/covers/crafting-interpreters.webp",
        "overview": "The book builds Lox, a dynamically typed language, twice: first as a tree-walking interpreter, then as a faster bytecode virtual machine. It covers scanning, parsing, variables, functions, closures, classes and inheritance along the way. Each step is short, and the author asks readers to write each line themselves so they understand every part.\n\nThe site presents the book in four formats: print, eBook, PDF and free web. The web version costs nothing, and the other formats are paid. The text suits programmers who want to understand how languages work from the inside. It is long and is not a quick reference, and its focus is building a language tool rather than writing applications.",
        "highlights": [
            "Scanner and parser",
            "Tree-walking interpreter",
            "Bytecode virtual machine",
            "Free web edition"
        ],
        "json": "https://listme.name/api/v1/products/crafting-interpreters.json"
    },
    "rankings": [
        {
            "list": "programming-books",
            "name": "Programming books",
            "page": "https://listme.name/best/programming-books",
            "rank": 4,
            "of": 11,
            "score": 90.5,
            "verdict": "A free, step-by-step build of two interpreters, with the full web edition at no cost. It is long and asks for a lot of code, which keeps it just below the top picks.",
            "best_for": "Building a language interpreter from scratch"
        }
    ],
    "alternatives": [
        {
            "slug": "designing-data-intensive-applications",
            "name": "Designing Data-Intensive Applications",
            "score": 94,
            "page": "https://listme.name/books/designing-data-intensive-applications"
        },
        {
            "slug": "the-pragmatic-programmer",
            "name": "The Pragmatic Programmer, 20th Anniversary Edition",
            "score": 92.5,
            "page": "https://listme.name/books/the-pragmatic-programmer"
        },
        {
            "slug": "sicp",
            "name": "Structure and Interpretation of Computer Programs",
            "score": 91,
            "page": "https://listme.name/books/sicp"
        },
        {
            "slug": "eloquent-javascript",
            "name": "Eloquent JavaScript, 4th Edition",
            "score": 89.5,
            "page": "https://listme.name/books/eloquent-javascript"
        },
        {
            "slug": "software-engineering-at-google",
            "name": "Software Engineering at Google",
            "score": 89,
            "page": "https://listme.name/books/software-engineering-at-google"
        },
        {
            "slug": "fluent-python",
            "name": "Fluent Python",
            "score": 88.5,
            "page": "https://listme.name/books/fluent-python"
        },
        {
            "slug": "rust-programming-language",
            "name": "The Rust Programming Language",
            "score": 88,
            "page": "https://listme.name/books/rust-programming-language"
        },
        {
            "slug": "refactoring",
            "name": "Refactoring: Improving the Design of Existing Code",
            "score": 86.5,
            "page": "https://listme.name/books/refactoring"
        },
        {
            "slug": "think-python",
            "name": "Think Python, 3rd Edition",
            "score": 83.5,
            "page": "https://listme.name/books/think-python"
        },
        {
            "slug": "automate-the-boring-stuff",
            "name": "Automate the Boring Stuff with Python, 3rd Edition",
            "score": 80.5,
            "page": "https://listme.name/books/automate-the-boring-stuff"
        }
    ],
    "links": {
        "page": "https://listme.name/books/crafting-interpreters",
        "markdown": "https://listme.name/books/crafting-interpreters.md",
        "badge": "https://listme.name/badge/crafting-interpreters.svg",
        "alternatives_page": "https://listme.name/alternatives/crafting-interpreters",
        "alternatives_json": "https://listme.name/api/v1/alternatives/crafting-interpreters.json"
    },
    "source": "https://listme.name",
    "license": "Free to read and cite with attribution to listme.name.",
    "docs": "https://listme.name/developers"
}