Skip to content

Add slua_definitions.yaml to generated output#163

Draft
WolfGangS wants to merge 1 commit into
secondlife:mainfrom
WolfGangS:wolfgang/generated_slua_definitions
Draft

Add slua_definitions.yaml to generated output#163
WolfGangS wants to merge 1 commit into
secondlife:mainfrom
WolfGangS:wolfgang/generated_slua_definitions

Conversation

@WolfGangS

@WolfGangS WolfGangS commented Jun 25, 2026

Copy link
Copy Markdown
Contributor

Add a version of slua_definitions to the generated output, that has all the content generated from lsl_defintitions included.

Partially resolves #162 Would still need LL implementation to have this file be served in the capabilities instead of the incomplete one.

…l_definitions

Signed-off-by: Wolfgang <wolfgang@wlf.io>
Comment on lines +264 to +272
quaternion_module = slua_definitions.get_module("quaternion")
rotation_module = SLuaModule(
name="rotation",
comment=quaternion_module.comment,
callable=quaternion_module.callable,
constants=quaternion_module.constants,
functions=quaternion_module.functions,
)
slua_definitions.modules.append(rotation_module)

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I suspect this should be moved to the main method that builds up slua_definitions, and not done here, that would also need to be changed in the textmate generator too then.

@tapple tapple Jun 25, 2026

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe. only the d.luau generator does anything with the rotation in globalVariables in the raw file. Every other handler does duplicate it

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.

Add a completed slua_definitions.yaml to generated output.

2 participants