diff --git a/extra/annotations/annotations-docs.factor b/extra/annotations/annotations-docs.factor index 0d37672fe3..a3c8c7208b 100644 --- a/extra/annotations/annotations-docs.factor +++ b/extra/annotations/annotations-docs.factor @@ -3,6 +3,7 @@ help help.markup help.topics kernel sequences sorting vocabs words combinators.smart tools.crossref ; IN: annotations +![=[ new-word SAME-FUNCTOR: ; IN: annotations << @@ -14,30 +14,31 @@ IN: annotations [ { [ word? ] [ vocabulary>> "annotations" = ] } 1&& not ] filter ; - +: ${NAME}s. ( -- ) + ${NAME}s sorted-definitions. ; -CONSTANT: annotation-tags { - "XXX" "TODO" "FIXME" "BUG" "REVIEW" "LICENSE" - "AUTHOR" "BROKEN" "HACK" "LOL" "NOTE" -} - -annotation-tags [ define-annotation ] each +]] +SYNTAX: \ANNOTATIONS: ";" [ define-annotation ] each-token ; >> + +! SYMBOLS: XXX TODO FIXME BUG REVIEW LICENSE + ! AUTHOR BROKEN HACK LOL NOTE ; + +! CONSTANT: annotation-tags { + ! XXX TODO FIXME BUG REVIEW LICENSE + ! AUTHOR BROKEN HACK LOL NOTE +! } + +ANNOTATIONS: XXX TODO FIXME BUG REVIEW LICENSE AUTHOR BROKEN HACK LOL NOTE ;