GitHub - ading2210/linuxpdf: Linux running inside a PDF file via a RISC-V emulator
LinuxPDF
This is Linux running inside a PDF file via a RISC-V emulator, which is based on TinyEMU.
Try it here: linux.pdf
linuxpdf.mp4
Explanation
This works in a very similar way to my previous DoomPDF project.
You might expect PDF files to only be comprised of static documents, but surprisingly, the PDF file format supports Javascript with its own separate standard library. Modern browsers (Chromium, Firefox) implement this as part of their PDF engines. However, the APIs that are available in ...
Read more at github.com