Skip to content

Adding info to generate wiki tables (constants)#167

Draft
Suzanna-Linn wants to merge 18 commits into
secondlife:mainfrom
Suzanna-Linn:constants-param-lists
Draft

Adding info to generate wiki tables (constants)#167
Suzanna-Linn wants to merge 18 commits into
secondlife:mainfrom
Suzanna-Linn:constants-param-lists

Conversation

@Suzanna-Linn

Copy link
Copy Markdown
Contributor

This PR is built on #113.

After commenting in #160, I'm adding these fields to the constants that have associated values:

  • in constants with one associated value:
    • value-type: same as Rulesets for table-based function params #143.
    • range: array [ start, end ].
    • default: default value.
    • enum: category of constants, or group of categories.
    • details: anything else in the Wiki table.
    • access:
      • "arg": the value is always an argument.
      • "read": it's only used when reading.
      • "write": it's only used when writing.
      • "read/write": default, not used in the file.
    • values: an array when there is more than one associated value (or only one, but with an informative name):
      • name
      • value-type
      • range
      • default
      • enum
      • details
      • access

JSON file with the added fields: https://suzanna-linn.github.io/slua/wiki-constants-values.html

LSL definitions browser with the updated YAML file: https://suzanna-linn.github.io/slua/reference-lsl-definitions

After #113 and this one are merged, I will write another PR for the functions, as commented in #160.

@Suzanna-Linn Suzanna-Linn marked this pull request as ready for review June 30, 2026 15:12
@Suzanna-Linn Suzanna-Linn marked this pull request as draft July 5, 2026 10:06
@Suzanna-Linn

Copy link
Copy Markdown
Contributor Author

Changed to draft. It will need redoing after #113 is merged, and I have some more to add.

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.

2 participants