Show HN: Matlab syntax in Jupyter, client-side

jmagland1 pts0 comments

jupyterlite-numbl-kernel is a JupyterLite kernel for numbl (https://numbl.org). It demonstrates running MATLAB syntax in Jupyter, client-side in the browser (no MATLAB or Octave needed). The live demo is a static site hosted on GitHub Pages... nothing to install:https://concept-collection.github.io/jupyterlite-numbl-kerne...Numbl is a lightweight (TypeScript + wasm + optional native bridge to OpenBLAS) numerical computing environment that tries to be as compatible as possible with MATLAB syntax. It has 500+ built-in functions and runs both in the browser and on the command line. I am developing it with Dan Fortunato at the Flatiron Institute.Why do this? There are many codebases that are written exclusively in MATLAB, require a MATLAB license, and cannot be run client-side in the browser. One such example is chebfun (https://www.chebfun.org/), whose heavy use of MATLAB s object-oriented features means it does not run on Octave. Right now, numbl is mature enough to run most of Chebfun. The capabilities will expand over time as we implement more builtins.I make a lot of static web applications (many of them proofs of concept) and I love trying to get code to run client-side in the browser. I think it s great for teaching, sharing ideas and methods, and communicating science with interactive views.Caveat: numbl of course is not MATLAB. It covers a large, tested subset of the language though.Kernel source: https://github.com/concept-collection/jupyterlite-numbl-kern...Numbl source: https://github.com/flatironinstitute/numbl

numbl https matlab github jupyterlite kernel

Related Articles