https://github.com/svelterust/knarkos
Lisp-based operating system
https://github.com/svelterust/knarkos
lisp nix os rust x86
Last synced: about 1 month ago
JSON representation
Lisp-based operating system
- Host: GitHub
- URL: https://github.com/svelterust/knarkos
- Owner: svelterust
- Created: 2024-01-23T11:16:02.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2024-01-31T15:32:25.000Z (over 1 year ago)
- Last Synced: 2025-05-05T17:31:53.019Z (about 1 month ago)
- Topics: lisp, nix, os, rust, x86
- Language: Rust
- Homepage: https://knarkzel.github.io/knarkdocs/
- Size: 59.6 KB
- Stars: 6
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# knarkos
What if Emacs was the entire operating system, written in a modern
programming language? Basically the entire operating system is a lisp-runtime
that runs `.lisp` files and compiles them to bytecode. Everything else can built
on top of this. Each binary would be tiny with no overhead of including a runtime,
because the operating system itself is the runtime.```bash
git clone https://github.com/knarkzel/knarkos
cd knarkos
nix develop # or nix-shell
just build
```## Goals
- Not based on Unix
- Simplicity from Plan9
- Reproducable OS like NixOS?
- Written in Rust for safety & performance
- Emacs as a complete OS, everything powered by Lisp
- Network of Lisp-powered machines, bee-hive concept## Features
- [ ] 2D graphics
- [ ] Networking
- [ ] Lisp bytecode VM
- [ ] Hot reloading everywhere## Resources
- [Compiling a Lisp](https://bernsteinbear.com/blog/compiling-a-lisp-1/)
- [Bytecode interpreters](https://bernsteinbear.com/blog/bytecode-interpreters/)