Skip to content

Improve formatting; include function signatures at runtime for printing#232

Merged
deviaze merged 3 commits into
mainfrom
fix-snowflakes-230
Jun 27, 2026
Merged

Improve formatting; include function signatures at runtime for printing#232
deviaze merged 3 commits into
mainfrom
fix-snowflakes-230

Conversation

@deviaze

@deviaze deviaze commented Jun 27, 2026

Copy link
Copy Markdown
Collaborator

Um this is a big pr.

Does more than just fix snowflakes.

Uses mluau's create_function_with_debug to include function signatures at runtime for every function in the seal standard library. You can now print the fs library for type signatures for every fs library function. And all the other libraries. It's amazing.

The signature_generation codebase in src/scripts creates a bunch of cstr constants from our typedefs that we use in a new helper method to TableBuilder, with_function_and_signature. This means we now should be creating typedefs before writing implementations in Rust. Run signature_generation/validate.luau to make sure everything exposed in Rust has a signature in Luau. That currently fails because there's a few undocumented functions that should be removed, eventually.

Closes #231

@deviaze deviaze linked an issue Jun 27, 2026 that may be closed by this pull request
@deviaze deviaze merged commit 97eabbd into main Jun 27, 2026
4 checks passed
@deviaze deviaze deleted the fix-snowflakes-230 branch June 27, 2026 01:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Use create_function_with_debug move the snowflake

1 participant