C
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.
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.
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;
scanfworks like Python'sinput;- the formats of
printfandscanf,NULLpointers and array overflows are reported.
It is available in the console and in the notebook.
