Commit Graph
4 Commits
Author SHA1 Message Date
4DBug 5b2605f514 root: Video, AudioWrap, Rbx, ImageOps required on first use (F.Rbx, F.video.codecs through __index); chunked build: one chunk per unit (format folder, codec, container), small family neighbours packed to 32 KB; Sniffs copies typed as in their module 2026-11-03 01:24:44 -06:00
4DBug 3468bfb49a Sniffs: fields the sniffs read from codecs / containers (Aac.adts, IsoBmff.sniff, Zstd.MAGIC, ...) copied once onto shared proxies, so detection loads no codec chunk; chunked build: a Detect chunk (Sniffs + what it requires); Brotli: static dictionary inflated on first reference (a trial decode no longer loads Deflate) 2026-11-03 01:19:07 -06:00
4DBug 6baa698abe build: build/Rosetta.rbxm / .rbxmx, the native Roblox build: a Rosetta root ModuleScript (registry, _internal) and chunk ModuleScripts loaded on first include, each under the native codegen budget; build/Rosetta.luau is the no-native single file; Rojo mounts the rbxm; chunked test suite and lune / rojo check 2026-11-01 19:04:51 -06:00
4DBug bcf6d46fb7 build: single-file bundles build/Rosetta.luau + build/rosetta.lua (tools/bundle.py), terse README with generated format / codec tables
- tools/bundle.py: every module a function in __FILES with a cached __include; requires become __include
  calls, so only the API and its load-time requires run on require. Rosetta._internal(path) includes any
  module by its src path. --!native modules get @native on each function (NATIVE re-checked on the bundle);
  linemaps map bundle lines back to sources (--where). LuaJIT bundle inlines the compat prelude.
- tools/build.py: the multi-file trees move to build/_modules (gitignored); each target also writes its bundle.
- tools/test.sh: api + docs/example tests also run against both bundles; fails when build/ is stale.
- default.project.json mounts build/Rosetta.luau; examples/love loads build/rosetta.lua.
- README: one line, install, quick start, doc links, generated format table and codec list
  (tools/gen_registry.py), licence TODO. DOCS lint checks the generated sections and the links.
2026-11-01 01:00:35 -06:00