/ concept-collection / jupyterlite-numbl-kernel
Sign in
concept-collection / jupyterlite-numbl-kernel
Soften rebrand: keep MATLAB syntax visible alongside numbl
Restore MATLAB-syntax mentions in prominent spots (intro notebook title, README tagline, MATLAB-console analogy, MATLAB-style indexing comment) so the framing is numbl-first but not MATLAB-erased.
Jeremy Magland <jmagland@flatironinstitute.org> committed commit 77bc6b753a10 parent f44f6a3 Browse files
2 changed files+6−5
README.mdmodified+3−2View file
@@ -1,7 +1,8 @@
11 # jupyterlite-numbl-kernel
22
3-Run [**numbl**](https://github.com/flatironinstitute/numbl) in
4-[JupyterLite](https://jupyterlite.readthedocs.io/) notebooks — **entirely in
3+Run [**numbl**](https://github.com/flatironinstitute/numbl) — numerical
4+computing with **MATLAB syntax** — in
5+[JupyterLite](https://jupyterlite.readthedocs.io/) notebooks, **entirely in
56 the browser**, with no server, no kernel process, and nothing for the reader
67 to install.
78
demo/content/01-intro.ipynbmodified+3−3View file
@@ -4,7 +4,7 @@
44 "cell_type": "markdown",
55 "id": "intro-title",
66 "metadata": {},
7- "source": "# numbl, entirely in your browser\n\nThis notebook runs on the **numbl kernel for JupyterLite**. Every cell executes\nin a Web Worker in *your* browser tab — there is no server and no kernel\nprocess behind this page, and nothing to install.\n\n[numbl](https://github.com/flatironinstitute/numbl) is an open-source\nnumerical-computing engine written in TypeScript. It uses MATLAB syntax, so\n`.m` code runs unchanged.\n\nRun the cells below with **Shift+Enter**."
7+ "source": "# numbl — MATLAB syntax, entirely in your browser\n\nThis notebook runs on the **numbl kernel for JupyterLite**. Every cell executes\nin a Web Worker in *your* browser tab — there is no server and no kernel\nprocess behind this page, and nothing to install.\n\n[numbl](https://github.com/flatironinstitute/numbl) is an open-source\nnumerical-computing engine written in TypeScript. It uses MATLAB syntax, so\n`.m` code runs unchanged.\n\nRun the cells below with **Shift+Enter**."
88 },
99 {
1010 "cell_type": "code",
@@ -35,7 +35,7 @@
3535 "id": "intro-indexing",
3636 "metadata": {},
3737 "outputs": [],
38- "source": "% Indexing: rows, and logical masks\nA(2, :)\nA(A > 3)'"
38+ "source": "% MATLAB-style indexing: rows, and logical masks\nA(2, :)\nA(A > 3)'"
3939 },
4040 {
4141 "cell_type": "code",
@@ -66,7 +66,7 @@
6666 {
6767 "cell_type": "markdown",
6868 "id": "1e814d6c",
69- "source": "## Named functions live in `.m` files\n\nnumbl's cells work like a REPL: you can't define a *named* function directly\nin a cell. Instead, put it in a `.m` file next to the notebook — this kernel\nsyncs `.m` files from the file browser into the session before every cell\nruns, so functions defined there are callable immediately, and edits take\neffect the next time you run a cell.\n\nThis notebook ships with [statsutils.m](./statsutils.m) — open it, and try\nediting it (e.g. add a `median` field) while the cell below is still there.",
69+ "source": "## Named functions live in `.m` files\n\nnumbl's cells work like the MATLAB console: you can't define a *named*\nfunction directly in a cell. Instead, put it in a `.m` file next to the\nnotebook — this kernel syncs `.m` files from the file browser into the\nsession before every cell runs, so functions defined there are callable\nimmediately, and edits take effect the next time you run a cell.\n\nThis notebook ships with [statsutils.m](./statsutils.m) — open it, and try\nediting it (e.g. add a `median` field) while the cell below is still there.",
7070 "metadata": {}
7171 },
7272 {
moveopenescclose