Posts
An XCAS kernel in Basthon
Big news: Basthon welcomes a new language with Bernard Parisse's computer algebra system Giac/XCAS. Like the other kernels, it runs entirely in the browser, with no installation nor server.
Exact computation, factorization, equation solving, integrals, matrices, curve plotting… with a neat mathematical display. It is available in the console and in the notebook.

PythonTutor in colour
The step-by-step visualization of PythonTutor, available in Basthon through from tutor import tutor, gets two improvements:
- syntax highlighting of the code;
- a frame that fits automatically the size of the visualization, without a scroll bar.

icecream
Tired of print to debug? The icecream module is available in Basthon's Python kernel: ic(expression) shows both the expression and its value.
For it to work, Basthon now keeps the source code of the cells run: inspect.getsource also works on the functions defined in the notebook or the console.

Iframes in Markdown
The Markdown cells of Basthon's notebook can embed outside pages with the <iframe> tag: map, video, applet… For security, these iframes are put in a sandbox (sandbox) and have no access to the notebook.
<iframe
width="100%"
height="350"
src="https://www.openstreetmap.org/export/embed.html?bbox=2.284%2C48.853%2C2.305%2C48.864&marker=48.8584%2C2.2945"
></iframe>
clear_output
The clear_output function of the IPython.display module works in Basthon: it clears the output of the current cell. With wait=True, the clearing only happens at the next display, which avoids flickering. Perfect for a progress bar, a countdown or a little text animation!
