rename: src/Formats -> src/Rosetta, @formats -> @rosetta requires, build/luajit/rosetta + rosetta._compat, build/roblox/Rosetta, ROSETTA_* env/globals, writer vendor strings

This commit is contained in:
4DBug committed 2026-11-01 01:19:16 -05:00
1 parent 2956576d7f
commit 22ddcd78fa
941 files changed
+3364 -3364

No files matched your search

+3 -3
View File
@@ -1,7 +1,7 @@
-- examples/image.luau: build an image, edit it with F.ops.image, save it in several formats, make an animated GIF and
-- read it back. Run from the repository root: luau examples/image.luau (the .luaurc alias @formats points at src/).
-- On LuaJIT / LÖVE, the same calls work with local F = require("formats") (docs/guide/image.md).
local F = require("@formats")
-- read it back. Run from the repository root: luau examples/image.luau (the .luaurc alias @rosetta points at src/).
-- On LuaJIT / LÖVE, the same calls work with local F = require("rosetta") (docs/guide/image.md).
local F = require("@rosetta")
local I = F.ops.image
-- a 64 x 48 rgba8 gradient: 4 bytes per pixel, rows top to bottom, pixel (x, y) at byte (y * width + x) * 4