Queen Of Smooches 💋<p>Couldn't sleep, had an idea churning around in my head, so I sketched out an idea that has been bounding around in my head for a long while.</p><p>So here's an MVP of scripting a Rust program using Lua where the Rust-defined module has documentation and auto-completion exposed to the Lua LSP through a generated definitions file. </p><p>Ultimately I'd love to make a fairly open ended "game engine" that caters highly specifically. Like RPGMaker but significantly less functionality. </p><p>I'm picturing a Pathfinder 2e inspired CRPG engine that supports custom campaigns being loaded from lua-defined mods and DLC. And I myself have a few stories I'd love to tell that work great for that particular framework. Especially since I can't convince any of my local friends to play pathfinder with me 😭 </p><p>Anyway, this isn't particular to making games, so if anyone out there wants to make something in rust with a robust API for lua scripting, enjoy this delicious example!</p><p><a href="https://github.com/QueenOfSquiggles/rust-lua-scripted-mvp" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">github.com/QueenOfSquiggles/ru</span><span class="invisible">st-lua-scripted-mvp</span></a></p><p><a href="https://blobfox.coffee/tags/Rust" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Rust</span></a> <a href="https://blobfox.coffee/tags/RustLang" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>RustLang</span></a> <a href="https://blobfox.coffee/tags/Lua" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Lua</span></a> <a href="https://blobfox.coffee/tags/LuaLang" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>LuaLang</span></a> <a href="https://blobfox.coffee/tags/GameDev" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>GameDev</span></a></p>