a parser in php that extracts structured todo information from comments
Possible todo format
Need to understnad this ^^ #todo - set token for this cookie @deadline : 1 week @reminder 5 days
@priority -- HIGH #tags: mebjas abhinavdahiya @assign: mebjas @label cookie, token, need_help
This should give
TODO: set token for this cookie
DEADLINE: 1 week
REMINDER: 5 days
PRIORITY: high
TAGS: array(mebjas, abhinavdahiya)
ASSIGNMENT: mebjas
LABELS: array(cookie, token, need_help)
#CONDITIONS
- The tokens are case insensitive
- Tokens include:
todo
deadline
reminder
remind
priority
tags
tag
assignment
assign
labels
label
deadline
&reminder
can be of formatMM-DD-YYYY
ORMM/DD/YY
OR of kind1 week
OR2 days
etcpriority
&assignment
ORassing
has to be single word or the first single word will be consideredtags
&labels
should bespace
orcomma
separated, thoughcomma
would be preferred
#BEST PRACTICES
- Use these
todo
,deadline
,reminder
,priority
,tags
,assignment
,labels
in place of counterparts - use lesser symbols and more of alpha numeric charecters
#LICENSE Will be added soon