{
    "products": [
        {
            "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."
        },
        {
            "slug": "eloquent-javascript",
            "name": "Eloquent JavaScript, 4th Edition",
            "kind": "book",
            "website": "https://eloquentjavascript.net/",
            "page": "https://listme.name/books/eloquent-javascript",
            "tagline": "Free introduction to programming and JavaScript, 4th edition",
            "summary": "Eloquent JavaScript, 4th edition, is a book by Marijn Haverbeke, dated 2024 on the author's site. It teaches programming from first principles with JavaScript in the browser and in Node.js. The site offers the book free to read online under a Creative Commons license, as PDF, EPUB and MOBI files, and as a paperback.",
            "author": "Marijn Haverbeke",
            "formats": [
                "web",
                "pdf",
                "epub",
                "kindle",
                "print"
            ],
            "pricing": "free",
            "price_note": "Free to read online; paperback copy sold separately",
            "free_to_use": true,
            "open_source": false,
            "strengths": [
                "Free online, with PDF, EPUB and MOBI copies",
                "Projects in the browser and in Node.js",
                "Code sandbox and exercise solutions online"
            ],
            "limits": [
                "Slow pace for experienced developers",
                "The paperback is separate from the free text"
            ],
            "checked": "2026-10-10",
            "connected_to_publisher": false,
            "cover": "https://listme.name/assets/covers/eloquent-javascript.webp",
            "overview": "The book starts with values, expressions and functions, then moves through data structures, higher-order functions, the object model and error handling. Later parts cover the browser, including the DOM and events, and Node.js. The projects include a pixel art editor and a skill-sharing website, which give readers larger programs to build.\n\nThe author licenses the text under a Creative Commons attribution and noncommercial license, and the site links a code sandbox and exercise solutions. Its style is practical and conversational, which suits beginners. Experienced programmers may find the pace slow for language details, but the projects are useful for practice. A paperback is sold separately."
        }
    ],
    "differences": [],
    "shared_rankings": [
        {
            "list": "programming-books",
            "name": "Programming books",
            "page": "https://listme.name/best/programming-books",
            "of": 11,
            "results": [
                {
                    "product": "crafting-interpreters",
                    "rank": 4,
                    "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",
                    "spec": {
                        "level": "Intermediate",
                        "free_online": true,
                        "latest_edition": "Not stated on the book site",
                        "focus": "Building programming language interpreters"
                    }
                },
                {
                    "product": "eloquent-javascript",
                    "rank": 5,
                    "score": 89.5,
                    "verdict": "A free, conversational introduction to programming with JavaScript, with projects and exercise solutions. Its pace is slow for experienced developers, but the full text is free in several formats.",
                    "best_for": "Learning JavaScript and programming for free",
                    "spec": {
                        "level": "Beginner",
                        "free_online": true,
                        "latest_edition": "4th edition, 2024",
                        "focus": "Programming and JavaScript from first principles"
                    }
                }
            ]
        }
    ],
    "ranks_higher_in_closest_shared_list": "crafting-interpreters",
    "page": "https://listme.name/compare/crafting-interpreters-vs-eloquent-javascript",
    "json": "https://listme.name/api/v1/compare/crafting-interpreters-vs-eloquent-javascript.json",
    "notes": [
        "Scores are editorial and only comparable inside one list. Products with connected_to_publisher true receive a disclosed ranking lift: https://listme.name/methodology"
    ],
    "source": "https://listme.name",
    "license": "Free to read and cite with attribution to listme.name.",
    "docs": "https://listme.name/developers"
}