Here's a little toy Doug and I dreamt up a while back that you all  
might find useful. We've all put junk like this in our code at some  
point:

! TODO: frogblast the vent core

Now in Factor, you can use the annotations vocab, which allows you to  
actually keep track of all those little notes-to-self from the Factor  
listener:

-- 8< --
USING: annotations kernel ;
: bob ( x -- )
     !TODO frogblast the vent core
     drop ;

TODOs.
-- 8< --

The "TODOs." word will list every vocabulary, word, and help article  
that uses "!TODO" comments. Annotation word sets are provided for ! 
TODO, !XXX, !FIXME, and a number of other common marker words. See  
«"annotations" about» for the list. You can define your own with  
«"FOO" define-annotation» as well.

-Joe
------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Factor-talk mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/factor-talk

Reply via email to