Windows > Third Party Plug-ins, Programs, and Skins

ZELDA v1.0 released (Expression Language editor)

<< < (7/45) > >>

Doof:
If they do add the ability to load/save expressions directly from MC, that would be awesome and would definitely remove the necessary copy/paste. The only downside would be losing the versioning, but given how easy Zelda makes it to edit your expressions and confirm they work as expected, versioning may not be as important as it was before. I also didn't realize Zelda would save state like that, so that's cool. Between that and the hoped-for future ability to save directly, the git repo probably wouldn't be necessary anymore, although I was thinking it might be a useful way to share expressions with the community.

zybex:
MC has 2 APIs:
- COM API: this has the GetFilledTemplate() function to evaluate an expression, but cannot read/write field expressions, just their already-calculated content.
- MCWS: this has functions to read/write the field expressions, but is missing the evaluate functionality.

I'm using the COM API, which has apparently been declared a dead end. Matt said he'll add the "evaluate" API to MCWS... after that's available I can switch Zelda to it.

Doof:

--- Quote from: zybex on July 08, 2020, 02:46:39 pm ---I'm using the COM API, which has apparently been declared a dead end.

--- End quote ---

Been a while since I did any MC plugin dev or kept up with the current state of things. What does this mean for third party plugins? Can they use MWCS? Is the COM API going away or is it just in an "as-is" state from here on? I briefly toyed with the idea of dusting off my old LyricsEditor/Captionator plugins to get them working properly again, so I'm curious if it would be a lost cause.

zybex:
I believe it's just frozen, but will remain available. The MCWS Rest API is just more flexible and easier to expand. I suppose in-app plugins can also use it, but I don't know.

marko:
You know how there are some places in MC that will only accept an expression in a single line?

But, (bad grammar, I know) when constructing, it's often easier to write them with carriage returns and tabs...

Could Zelda have a button that would make a long and complex, multi-line expression a single line in one click, maybe, putting that into a new tab so as to preserve the multi-line work?

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version