Paste: word-style indentation

Author: klazuka
Mode: factor
Date: Fri, 4 Sep 2009 16:11:05
Plain Text |
: word-style ( word -- style )
    dup "word-style" word-prop >hashtable [
        [
            [ presented set ]
            [ 
                [ parsing-word? ] [ delimiter? ] [ symbol? ] tri or or
                [ COLOR: DarkSlateGray foreground set ] 
                [ COLOR: black foreground set] if
            ] bi
        ] bind
    ] keep ;

New Annotation

Summary:
Author:
Mode:
Body: