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

+2 -2
View File
@@ -1,14 +1,14 @@
# MIDI reference cases (run by tools/fixtures/midi.py through ctx.python(["mido"], ...); not a generator itself).
# Builds Standard MIDI Files with python mido (formats 0 / 1 / 2, tempo changes, time / key signatures, running
# status, sysex, pitch bend, every channel message, a random stress file), saves them with mido, and prints JSON:
# per file the bytes, mido's parse in formats-luau's event shape and mido's lengths / message times.
# per file the bytes, mido's parse in rosetta's event shape and mido's lengths / message times.
import io, json, random, sys
import mido
from mido import Message, MetaMessage, MidiFile, MidiTrack
def ours(msg):
"""a mido message -> [type, channel, data, meta] in formats-luau's shape (data = raw bytes)"""
"""a mido message -> [type, channel, data, meta] in rosetta's shape (data = raw bytes)"""
t = msg.type
if msg.is_meta:
b = msg.bytes()