Skip to content

Conversation

@Vighnesh-V
Copy link
Collaborator

@Vighnesh-V Vighnesh-V commented Oct 20, 2025

This PR implement a static require tracer for Luau as a prerequisite to enabling multi file bytecode compilation. This module statically resolves requires relative to a given entry module, effectively snapshotting the state of the filesystem for embedding in a lute executable. This module graph will be embedded in the lute executable when lute compile is invoked and will let the bundle virtual file system PR correctly navigate the directory structure to resolve require calls and match up those paths to the pre-compiled bytecode embedded in the bundle.

@Vighnesh-V Vighnesh-V force-pushed the static-require-resolution branch 5 times, most recently from 5bfd307 to 60c1d94 Compare October 20, 2025 17:56
@Vighnesh-V Vighnesh-V marked this pull request as ready for review October 20, 2025 18:32
@Vighnesh-V Vighnesh-V force-pushed the static-require-resolution branch 2 times, most recently from 26220e6 to 39571ff Compare October 20, 2025 18:42
@vrn-sn vrn-sn self-requested a review October 20, 2025 19:15
@Vighnesh-V Vighnesh-V force-pushed the static-require-resolution branch 2 times, most recently from dc7c8b2 to 4187601 Compare October 23, 2025 16:18
@Vighnesh-V Vighnesh-V force-pushed the static-require-resolution branch from 4187601 to b36150b Compare October 23, 2025 19:25
@aatxe aatxe merged commit b6c90ba into primary Oct 24, 2025
10 checks passed
@aatxe aatxe deleted the static-require-resolution branch October 24, 2025 18:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants