The Daily Click ::. Projects ::. Expression Editor Plus (E++)

Project: Expression Editor Plus (E++)
Project Started: 11th January, 2008 Last Update: 16th September, 2009
Project Owner: DeadmanDines Project Members:
Project Type: Application Project Progress:

Project Overview  
Preview The Problem with MMF:

MMF's expression editor is not very good. Have you ever written a complex expression and tried decyphering it a month later? It's awful.

Any whitespace you used to break it all up a little gets removed when you finalise your expression. You can't include comments. And if you use the same expression more than once in the same formula, you have to constantly repeat it. So for instance, if you have a string expression, and you want to change where the main string is being taken from, you may have to update three of four different places in the same expression.

The gist is, it sucks.

E++ Is Your Friend

So, I'm designing E++ to help out. It is a separate application, which uses a kind of Variable-Based Markup System to write your expressions in. It then converts these into a single expression string that you can paste into MMF.

It's variable-based in that you can define variables in it (logical enough, lol). So for instance, suppose you want an expression that strips out //comments.

You can write it in E++ like this:

//This expression will strip out any

//double-slash comments

//Get the text
text = Edittext$("Text Area");

//Get the current pointer location
pointer = Pointer("VARS");

//Get the first // to the right of the pointer
start = find(text, "//", pointer);

//Get the first NEWLINE to the right of pointer
end = find(text, newline$, pointer)+2;

//Get the text left of the comment
left = left$(text, start);

//And right...
right = right$(text, len(text)-end);

//Print the final result

left + right

//This will strip out the comment from
//inside the string and put it back together

When it's done, E++ will be able to tell you what errors occurred in your string, where they were found, how to fix them. It may be able to offer suggestions to try and simplify your expression if you get an Expression Too Complex error in MMF.

Basically, it's a tool no serious MMF user should be without.

Project Forums Topics Posts Last Post
Public Forum
Public forum for open project discussion
3 18 Download link
By: pallokallo
On: 24th Jul 09, 05:50:19
Private Forum
Private forum for project members only
0 0 No Access

Posted 16th Sep 09, by DeadmanDines Post A Comment

Wouldn't it be nice if E++ had colour-coded text and a system for underlining brackets so you know what open/closing brackets you're using?

So yeah... that would be E++ 2.0 I guess...
Posted 3rd Apr 08, by DeadmanDines Post A Comment

Beta has been released!

Get it here:
Not Dead
Posted 18th Feb 08, by DeadmanDines 2 Comments
Still workin' on it.

Had to iron out a few more bugs, and did some more work on the boring sides of it. So it now supports multiple instances of itself, and you can rename your current expression.
On Second Thoughts...
Posted 29th Jan 08, by DeadmanDines Post A Comment
...I thought I'd post a screeny of one use for this app. It helped organise the expressions for the following dumb looking shapes:


Don't you just wanna start makin' your own little etch-o-sketch stylograph pictures?

The code for the demented flower:
//The premise:

// It's got to go in/out, altering the distance considerably.
angle = t("B");

//So, our basic starting circle (a)

a_xpos = 480;
a_ypos = 420;
a_radius = 200;

//This next is a sinus to alternate the wobble in distance

wobble = sin(angle*25);

//So our next pointer should see us wobblin (b)

b_xpos = a_xpos + sin(angle) * ((a_radius*1.5) * wobble);
b_ypos = a_ypos + cos(angle) * ((a_radius*1.5) * wobble);
b_radius = wobble * 42;

//Another (c)
c_xpos = b_xpos + sin(angle*50) * b_radius;
c_ypos = b_ypos + cos(angle*50) * b_radius;

//Plot it!


View Project Archive


Project Forums



Worth A Click