Skip to content

C ​

Romain CasatiNovember 19, 2026· in C, Notebook, Console· 2 min read

Images and drawings in C ​

Basthon's C kernel is no longer limited to text: it builds images and draws, directly in the console and in the notebook.

Continue reading


Romain CasatiOctober 29, 2026· in XCAS, OCaml, C, Console, Notebook· 2 min read

Completion in XCAS, OCaml and C ​

After SQL, JavaScript and R, the Tab key now completes names in XCAS, OCaml and C, in the console, the notebook and the basthon command. All of Basthon's languages now have completion.

Continue reading


Romain CasatiOctober 14, 2026· in C, Notebook, Console· 1 min read

A C kernel in Basthon ​

Big news: Basthon now speaks C! The code is compiled to WebAssembly directly in the browser, with no installation nor server, thanks to the xcc compiler.

The kernel is designed for learning:

  • no need for main: statements run directly, and everything declared stays available for what follows;
  • the last expression, without a semicolon, is shown with its type;
  • scanf works like Python's input;
  • the formats of printf and scanf, NULL pointers and array overflows are reported.

It is available in the console and in the notebook.

Play with it!

The C kernel in the console