PR for tagged handle
Hello!
I'm the original author of broom. I love what you're doing here, really great work. If you wanted to open a PR for your TaggedHandle code I'd be very happy to accept it upstream!
This aside, I wonder whether you'd be interested in working with a few others (@nilq and @cedric-h and myself) on a scripting language for Rust? Your bytecode interpreter is impressive work. The syntax of the language, https://github.com/zesterer/leon, is similar to Lox but supports Rust-style functional syntax like conditions-as-expressions, implicit returns, loop breaking with expressions, etc.
Right now we have a functioning AST walker that demonstrates most of the language, but the real trick will be to have a bytecode interpreter and simple optimisation: existing pure-Rust scripting languages like https://github.com/jonathandturner/rhai don't have this currently.
Hey @zesterer, first off thanks for broom! I appreciate the feedback, this project has been one of my first forays into bytecode interpreters and I've really enjoyed it.
Apologies for the wait on getting back to you - given everything going on right now I haven't even had the time to work on this project itself. For similar reasons I don't think I can commit to any work right now, but I'd still be happy to take a look at the repo. The project certainly sounds interesting!
That said, I've gone ahead and opened https://github.com/zesterer/broom/pull/3 to upstream TaggedHandle - it's the least I can do.
Much appreciated, thanks!