formats-luau foundation: build (darklua + token passes) for Roblox and LuaJIT, compat prelude, core, Types, host adapters, API + registry, lint, tests on both runtimes; absorb deflate (codecs/Deflate + new compressor) and png (image/png + new encoder)

This commit is contained in:
4DBug committed 2026-10-31 08:18:01 -05:00
commit cdcb5b0b77
226 files changed
+8409

No files matched your search

+10
View File
@@ -0,0 +1,10 @@
# Third-party code, absorbed repositories and test data
| Where | From | Licence |
|---|---|---|
| `src/Formats/codecs/Deflate/` (Inflate, init), `src/Formats/core/Crc32.luau`, `src/Formats/core/Adler32.luau`, `src/Formats/core/Huffman.luau` (table builder) | deflate-luau 1.0.0 (same author), written from RFC 1950-1952 | no licence chosen yet; no third-party code: [deflate-luau-NOTICE.txt](deflate-luau-NOTICE.txt) |
| `src/Formats/image/png/` (init, Decode) | png-luau 1.0.0 (same author), written from the PNG specification | no licence chosen yet; no third-party code |
| `tests/fixtures/pngsuite/` | PngSuite by Willem van Schaik | [PngSuite-LICENSE.txt](PngSuite-LICENSE.txt) |
Ports of third-party code (minimp3, stb_vorbis, libopus, ...) add a row here and their upstream licence text in this
folder (see docs/STYLE.md, "Absorbing an existing repo").
+9
View File
@@ -0,0 +1,9 @@
PngSuite
--------
Permission to use, copy, modify and distribute these images for any
purpose and without fee is hereby granted.
(c) Willem van Schaik, 1996, 2011
+7
View File
@@ -0,0 +1,7 @@
deflate-luau contains no third-party code. It was written from the specifications:
- RFC 1951, DEFLATE Compressed Data Format Specification version 1.3 (P. Deutsch, 1996)
- RFC 1950, ZLIB Compressed Data Format Specification version 3.3 (P. Deutsch, J-L. Gailly, 1996)
- RFC 1952, GZIP file format specification version 4.3 (P. Deutsch, 1996)
The test fixtures are generated at test time by Python's zlib (tools/fixtures.py) and are not distributed.