Commit Graph
7 Commits
Author SHA1 Message Date
4DBug c84d00137d Merge branch 'ws/data' into ws/3d 2026-10-31 08:46:18 -05:00
4DBugandClaude Opus 5.5 c3bbae0271 ws-3d: model/obj (OBJ + MTL read/write: objects/groups -> nodes, per-material primitives, n-gons fan-triangulated or kept as polygons, vertex colours, lines/points, PBR MTL extension, texture maps with options, files through opts.files/resolve); tests vs assimp + trimesh, and assimp/trimesh reading our output
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-31 08:46:04 -05:00
4DBugandClaude Opus 5.5 126a42e117 data: data/json and data/xml (thin wrappers over codecs/Json / codecs/Xml; JSON Lines option; API tests)
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-31 08:40:26 -05:00
4DBugandClaude Opus 5.5 907f3650f1 data: codecs/Xml (XML 1.0 DOM + pull events + serializer: UTF-8/16/Latin-1, entities incl. internal DOCTYPE with expansion limit, CDATA, comments, PIs, namespaces as qualified names + node.ns / clark, xml:space); ElementTree + expat fixtures; bench lines
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-31 08:38:55 -05:00
4DBugandClaude Opus 5.5 58f6b32541 ws-3d: model/vox (MagicaVoxel read/write: every chunk, scene graph, materials, layers, render objects, cameras, notes, IMAP, META, unknown chunks kept), ops/MeshOps (triangulate, transform, normals, tangents, weld/unweld, bounds, merge, scale/setUnit/setUp, greedy voxel meshing); Types: Scene.reader/mul/nodeMatrix/flatten helpers; compat: __iter visits t[0] on LuaJIT (was skipped by ipairs)
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-31 08:38:02 -05:00
4DBugandClaude Opus 5.5 b6f40e0a74 data: codecs/Json (RFC 8259 parse / serialize: ordered keys, Types.null, bigInts as strings, pretty / ascii, events pull tokenizer, decodeAt / lines, streaming writer); JSONTestSuite + Python json fixtures; bench lines
Types (backward compatible additions in the Data section): Types.object / isObject / set / keys (ordered objects
and empty-object marking, shared by every data format), Types.Date (RFC 3339 typed dates for TOML / plist / CBOR /
msgpack: new / is / valid / parse / toUnix / fromUnix), XmlNode gains optional text / target / ns fields.
tools/bench.sh: also generates the json fixtures.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-31 08:30:05 -05:00
4DBugandClaude Opus 5.5 ccb06775c5 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)
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-31 08:18:01 -05:00