3 ms·
Web developer here, i just srarted to write a interpreter for a small lisp, granted not system programming but I can still use the low level features to my adva
by nickik 12y ago
Web developer here, i just srarted to write a interpreter for a small lisp, granted not system programming but I can still use the low level features to my advantage.
Its pretty fun, but im looking forware to stability too.
- hga 12y agoWriting a Lisp "in a week" (that would be putting most of your time into the project) is a classic thing to do, and while it indeed isn't exactly system programming, if you keep it simple (e.g. maybe limit it to atoms, lists and fixnums), but include precise GC, you'll learn a lot of things you need. Hmmm, I've been wanting to learn Rust, but I always need a project to learn a language, and I haven't written a Lisp "in a week" yet ^_^. Yeah, thanks for the idea.
- Flow 12y agoI'm trying to write a tiny lisp interpreter in Rust myself. I haven't got very far. Do you have a public repository for a curious fellow hacker?
- nickik 12y agoWell the project actually goes beyond just that, its a bytecode interpreter and I want to experiment with a JIT (something I have wanted to do for years). https://github.com/clojit/clojit-vm https://github.com/clojit/clojit-vm Sadly its not working currently, I started a new job and Im moving so I had very little time the last 2 weeks and I didn't manage to keep up with the changes in rust.
- michaelsbradley 12y agoI'm hoping to port Shen to Rust, but I need to read the guide and learn my way around Rust itself before diving in too naively.
- steveklabnik 12y agoThat would be super exciting.