MCPcopy Create free account
hub / github.com/marijnh/Eloquent-JavaScript

github.com/marijnh/Eloquent-JavaScript @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
396 symbols 795 edges 78 files 0 documented · 0% 8 cross-repo links updated 26d ago★ 3,1118 open issues

Browse by type

Functions 358 Types & classes 38
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Eloquent JavaScript

These are the sources used to build the fourth edition of Eloquent JavaScript (https://eloquentjavascript.net).

Feedback welcome, in the form of issues and pull requests.

Building

This builds the HTML output in html/, where make is GNU make:

npm install
make html

To build the PDF file (don't bother trying this unless you really need it, since this list has probably bitrotted again and getting all this set up is a pain):

apt-get install texlive texlive-xetex fonts-inconsolata fonts-symbola texlive-lang-chinese inkscape
make book.pdf

Translating

Translations are very much welcome. The license this book is published under allows non-commercial derivations, which includes open translations. If you do one, let me know, and I'll add a link to the website.

A note of caution though: This text consists of about 130 000 words, the paper book is 400 pages. That's a lot of text, which will take a lot of time to translate.

If that doesn't scare you off, the recommended way to go about a translation is:

  • Fork this repository on GitHub.

  • Create an issue on the repository describing your plan to translate.

  • Translate the .md files in your fork. These are CommonMark formatted, with a few extensions. You may consider omitting the index terms (indicated with double parentheses and {{index ...}} syntax) from your translation, since that's mostly relevant for print output.

  • Publish somewhere online or ask me to host the result.

Doing this in public, and creating an issue that links to your work, helps avoid wasted effort, where multiple people start a translation to the same language (and possibly never finish it). (Since translations have to retain the license, it is okay to pick up someone else's translation and continue it, even when they have vanished from the internet.)

I am not interested in machine translations. Please only ask me to link your translation when it was done by actual people.

Core symbols most depended-on inside this repo

browse all functions →

Shape

Function 274
Method 84
Class 38

Languages

TypeScript100%

Modules by API surface

src/client/sandbox.mjs58 symbols
src/render_latex.mjs53 symbols
src/render_html.mjs50 symbols
src/client/ejs.mjs19 symbols
src/run_tests.mjs15 symbols
src/client/code.mjs15 symbols
code/chapter/22_fast.js15 symbols
src/pseudo_json.mjs13 symbols
code/hangar2.js13 symbols
code/draw_layout.js13 symbols
code/solutions/06_3_iterable_groups.js11 symbols
src/transform.mjs10 symbols

Dependencies from manifests, versioned

@codemirror/lang-css6.2.0 · 1×
@codemirror/lang-html6.4.0 · 1×
@codemirror/lang-javascript6.2.0 · 1×
@codemirror/legacy-modes6.3.0 · 1×
@codemirror/state6.2.0 · 1×
@codemirror/view6.20.0 · 1×
@lezer/common1.1.0 · 1×
@lezer/highlight1.1.0 · 1×
@rollup/plugin-node-resolve15.0.0 · 1×
@rollup/plugin-terser0.4.4 · 1×
acorn8.0.0 · 1×

For agents

$ claude mcp add Eloquent-JavaScript \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page