Skip to content

Feature: Add TDI TreeShr functions used by mdsthin#3065

Open
WhoBrokeTheBuild wants to merge 1 commit into
MDSplus:alphafrom
WhoBrokeTheBuild:slw-tdi-treeshr-functions
Open

Feature: Add TDI TreeShr functions used by mdsthin#3065
WhoBrokeTheBuild wants to merge 1 commit into
MDSplus:alphafrom
WhoBrokeTheBuild:slw-tdi-treeshr-functions

Conversation

@WhoBrokeTheBuild

Copy link
Copy Markdown
Member

When implementing the thin Tree class for mdsthin, I needed these functions from the TDI stdlib. Currently, they're implemented on the fly when called, but they should be added to the stdlib so other things can use them.

  • TreeFindNodeWildRelative operates much like TreeFindNodeWild, but relative to a node
  • TreeGetRecordSerialized returns the serialized data for a node
  • TreeDecompileRecord returns the decompiled data for a node

Once these are included, mdsthin can check the server version and only implement them on the fly as needed

When implementing the thin Tree class for mdsthin, I needed these functions from the TDI stdlib. Currently, they're implemented on the fly when called, but they should be added to the stdlib so other things can use them.

TreeFindNodeWildRelative operates much like TreeFindNodeWild, but relative to a node
TreeGetRecordSerialized returns the serialized data for a node
TreeDecompileRecord returns the decompiled data for a node

Once these are included, mdsthin can check the server version and only implement them on the fly as needed
@WhoBrokeTheBuild WhoBrokeTheBuild self-assigned this Jul 2, 2026
@WhoBrokeTheBuild WhoBrokeTheBuild added feature Indicates new feature requests or implementations tool/tdi Relates to the TDI language or prompts (tditest, tdic) labels Jul 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature Indicates new feature requests or implementations tool/tdi Relates to the TDI language or prompts (tditest, tdic)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant