I'm not looking for teammates, per se, just some people to add opinions and suggestions to this thread.
I'm working on an application to simplify expression writing. It will automate a method I've used to organise my expressions for ages. Its features are as follows:
Features (some implemented, some planned) Full Commenting using /* or // comments.
Internal variables. Split your complex functions up into variables, letting you organise your formulae, and make changes easily.
E.G. A complex string formula using mid$(text, start, length) may need changes in the 'text' parameter. If you've isolated the text variable and defined it separately, it's easier to edit or replace with more efficient code.
Easier format for Immediate IFs:
if (a = b)
{ "YES" }
else
{ "NO" }
...is a basic example. This will be scanned and converted into an expression using the Immediate IF Object. So nested IFs with this will be a doddle, and they'll make more sense at a glance.
Better Debugging:
If your expression has a type mismatch (mixed strings, etc), this app will hopefully isolate where. Counting how many brackets there are per clause, etc (so it can say if you missed a bracket, and possibly where too).
Floating Point Handling:
Hopefully, it'll be possible to force the expression to handle values as floating points. So this:
float.= maxhealth("Object2) / health("Object2");
Will become this:
(maxhealth("Object2)+0.0)/health("Object2")
So yeah, that's the plan. What other features would you like in an app? If the expression editor could do something, that it currently doesn't, what would that be?
So this lets us manage expressions and export them to MMF format? If so it definitely needs a way to keep track of expressions, so I can edit them easily
It does indeed sound like an awesome idea, there's a lot of improvement to be had in the Expression Editor.
If it helps with complex expressions, and Immediate Ifs then it'll be awesome!
A feature I'd like in the expression editor... UNDO! Why isn't it there!? . From reading about what you said on the CT forums I can't think of anything else...
Ah sounds perfect! Note sure why this hasn't attracted more attention
Will it be able to do syntax highlighting? It's not that big of a deal but it's nice (if so choose colours you can differentiate between easily.. Purple and blue in the normal expression editor )
The colour thing's a bit tough for the line that you're actually writing at the time, that's what I've always found. Maybe in a future version, though.
Auto-suggest would be very tough since E++ doesn't know what objects you've got in the frame. So it can't really suggest them.
I support you all the way, man. Now all I need is a script-thingy for MMF that's more powerful than Lua.
Oh, suggestions.. change the name! It scared me away from looking at it!
I'd like a feature where it could keep track of variables. Or replace certain events with others. For example, I set this in E++:
X1 = XPosition("Active1")
X2 = XPosition("Active2")
So, I just enter in E++ something like:
([X1]+[X2])/([X2]-20)
And it comes out resulting as
(XPosition("Active1")+XPosition("Active2"))/(XPosition("Active2")-20)
See how much confusion I save? But I'm sure you guys have already thought of it before
Edited by an Administrator.
Disclaimer: Any sarcasm in my posts will not be mentioned as that would ruin the purpose. It is assumed that the reader is intelligent enough to tell the difference between what is sarcasm and what is not.
Oh, wait, you did, lol. I was thinking something like a variable bin so I know which variable I stored in which XYZ of an array.
Disclaimer: Any sarcasm in my posts will not be mentioned as that would ruin the purpose. It is assumed that the reader is intelligent enough to tell the difference between what is sarcasm and what is not.