Tiny C Compiler runs in #WebAssembly but it's missing C Header Files ... Let's add the ROM FS Filesystem from Apache #NuttX RTOS ... With a little help from #ZigLang Compiler
Try our demo of Tiny C Compiler in #WebAssembly ... Which will compile and run Apache #NuttX Apps!
Article: https://lupyuen.codeberg.page/articles/romfs.html#c-compiler-in-our-web-browser
Tiny C Compiler in #WebAssembly supports <stdio.h> ... Thanks to the ROM FS Filesystem from Apache #NuttX RTOS
Article: https://lupyuen.codeberg.page/articles/romfs.html#file-access-for-webassembly
ROM FS is a Read-Only Filesystem that runs entirely in memory ... Let's add it to Tiny C Compiler in #WebAssembly
Article: https://lupyuen.codeberg.page/articles/romfs.html#rom-fs-filesystem
ROM FS Filesystem in #WebAssembly ... Let's port the driver from Apache #NuttX RTOS, thanks to #ZigLang Compiler
Article: https://lupyuen.codeberg.page/articles/romfs.html#nuttx-driver-for-rom-fs
How we read the ROM FS Filesystem in #ZigLang ... By calling the Apache #NuttX Driver
Article: https://lupyuen.codeberg.page/articles/romfs.html#open-a-rom-fs-file
@hexaheximal The driver is in C, we're calling from Zig :-)