Rendered at 00:13:12 GMT+0000 (Coordinated Universal Time) with Cloudflare Workers.
vrn-sn 3 days ago [-]
Lute is a general-purpose, Node.js-style runtime for Luau (https://luau.org/) that just hit 1.0.0. It supports filesystem operations, networking, process management, cryptography, and a proper module system, backed by libraries like libuv, curl, and libsodium.
The part we're most excited about: we've exposed APIs for manipulating Luau's syntax tree, so you can write code transformations directly against the language using Lute. This is especially useful if you're working with a large Luau codebase and want powerful tooling.
The team's happy to answer questions about the implementation or design decisions!
Heliodex 4 hours ago [-]
Congrats on the 1.0.0 release! Being able to write custom tooling in Luau using the Luau parsing APIs will be awesome. Hopefully it makes updating tools to use new Luau features easier – at the moment I have a workflow with a custom-built parser which I'd have to modify to support, for example, the new `const` declarations; having easy access (from scripts) to regularly-updated parser APIs is a big deal for a language that's moving as quickly as Luau is.
hmokiguess 4 hours ago [-]
How does it compare to Lune[1]? I use Lune for scripts today
In the abstract, there’s more of a focus on being general purpose, rather than Lune providing e.g. Roblox file format parsing as a core feature.
Concretely, they’re pretty similar right now, but Lute exposes Luau’s parser which we’re using to build more developer tooling for Luau, including a linter, a codemod tool, and a package manager (and hopefully more in the future).
dhuan_ 2 hours ago [-]
well done! wouldn't it nice if something like this existed in Lua as well (or maybe it does and I haven't seen it yet)?
I've built a data transforming tool powered by Lua[1] and would definitely like to benefit from an general purpose api/library like Lute.
The part we're most excited about: we've exposed APIs for manipulating Luau's syntax tree, so you can write code transformations directly against the language using Lute. This is especially useful if you're working with a large Luau codebase and want powerful tooling.
The team's happy to answer questions about the implementation or design decisions!
[1] https://github.com/lune-org/lune
Concretely, they’re pretty similar right now, but Lute exposes Luau’s parser which we’re using to build more developer tooling for Luau, including a linter, a codemod tool, and a package manager (and hopefully more in the future).
I've built a data transforming tool powered by Lua[1] and would definitely like to benefit from an general purpose api/library like Lute.
1: https://github.com/dhuan/dop