Add slua_definitions.yaml#38
Conversation
…aaa42a-9d1f-b7bb-ac9a-856a2de7b3da.llsd.xml - re-ordered and re-formatted fields to match the sim capability - added sort_keywords_expat.py to sort the entries of the sim capabilities
…s_lsl_78aaa42a-9d1f-b7bb-ac9a-856a2de7b3da.llsd.xml" This reverts commit fa208df.
…app_settings/keywords_lsl_default.xml
…a-856a2de7b3da.llsd.xml
…b7bb-ac9a-856a2de7b3da.llsd.xml" This reverts commit 00acc8f.
…_definitions.yaml second
|
@tapple You don't need to worry too much about generating a bit-identical version of the existing LLSD in the viewer repo once you've validated that you can, that file's not considered canonical, and we're okay with its form changing if it's not going to be edited directly anyway. It seems that it does generate a bit-identical version of the slua definitions with the patch, so IMO that's good enough validation that the schema is at least consistent, and we shouldn't need the extended |
|
@HaroldCindy Done. I removed the dependency on the unreleased python-llsd version. Here's the changes that made to the generated files: |
HaroldCindy
left a comment
There was a problem hiding this comment.
Thanks muchly!
This seems broadly reasonable. I don't see any remaining issues that are worth blocking merging on, so I'll get this in
This PR adds all the information necessary to generate all metadata that a code editor needs to work with SLua
I'm marking this as ready for review because I've reached a milestone: as of this PR, this repository can fully re-generate these 2 files in the viewer:
Additionally, to the best of my knowledge, these two files now accurately document all functions, events, and constants in lsl and slua, no more, and no less. You can review my improvements to these two files here:
To be done in a follow up PR #42 :
How did I create this file?
Part of a set of PR's improving the definitions and keywords files in lsl and slua:
I verified that the output of this is bit-identical with the sim capability
keywords_lsl_78aaa42a-9d1f-b7bb-ac9a-856a2de7b3da.llsd.test.xml, except for:I used the changes in fa208df (since reverted) to verify this. Here's the results, prettified, for inspection:
keywords_lsl_78aaa42a-9d1f-b7bb-ac9a-856a2de7b3da.llsd.autosorted.pretty.xml
keywords_dev.llsd.pretty.xml