For the colons:
My first idea:
As it is programmed now, we need to use 2 colons to keep 1:
@Stuff New stuff 2 #01/11/2010 the stuff @important_stuff hupla, do stuff @stiff_this even more stuff :: todostuff
gives
... even more stuff : todostuff
Actually there is a general problem to be solved here that I would very much like to solve..how to allow special characters to be non-special without cluttering up the syntax..for example what if I want a subject that starts with #? I thought about allowing something like a backslash..
-daddydave
I'll think along with you. It will grow on me in the background while working on my work things.
Here's my quick idea:
We could also use 2 special characters to seperate a part:
(I've never understood why to use a '@' in front of a category, so I don't use them)EX1:@@Stuff New stuff ##01/11/2010 the stuff @@important_stuff hupla, do stuff @@stiff_this even more stuff : todostuff
Gives:
Subject : New stuff
Cat : Stuff, important_stuff, stiff_this
Due : 01/11/2010
Body : the stuff hupla, do stuff even more stuff :: todostuff EX2:@@Stuff Stuff again :: Need to exercise on : the other stuff aswell
Subject : Stuff again
Cat : Stuff
Due : N/A
Body : Need to exercise on : the other stuff aswell One more thing:
I'm assuming you parse the string from left to right, but since I have no idea how you programmed it, I'm may be wrong.
BUT:
in ex1, after you've parsed the Subject, you know that you already have a subject, so I would assume the rest is automatically body, and then you have to parse the "body" for dates and categories and remove then from the body.
Wow, thats a lot in the preview.
I hope everything makes sense here :-)
If not, ask me so I can clear out things.