Keep in mind that "tools.test" is largely used for unit tests ("-tests.factor"
files) and the "help" vocabularies are used for documentation ("-docs.factor"
files).
Also, to be more complete, you can look for "USE:" instructions (less common)
that are like USING: but for a single vocabulary.
On Sep 11, 2011, at 3:42 PM, "Patrick Mc(avery"
<[email protected]> wrote:
> Like other languages with large libraries, it takes time to learn them
> and it is not always obvious what they do. I am trying to focus on
> learning the most common vocabularies.
>
> I copied all the factor files from the factor source directory:
>
> cp $(find -name *.factor) /home/patrick/my_Factor
>
> Then I used these commands to count and sort the vocabularies used:
> cat * | tr -s ' ' | tr 'A-Z' 'a-z' | grep using: | tr ' ' '\n' | sort |
> uniq -c | sort > /home/patrick/factorVocabulary.csv
>
> After some tweaking in a spreadsheet I have a long list. Here is the the
> top 50.
>
> Referencing the "using" count of 5575 do the other counts seem
> reasonable? (some may be junk from my commands)
>
> Thanks-Patrick
>
> 5575 using:
> 3128 kernel
> 1634 math
> 1582 accessors
> 1420 sequences
> 1176 tools.test
> 1080 help.markup
> 1052 help.syntax
> 1040 arrays
> 860 prettyprint
> 814 assocs
> 676 namespaces
> 542 io
> 524 alien.c-types
> 466 combinators
> 378 fry
> 354 strings
> 322 alien
> 314 alien.syntax
> 244 locals
> 234 words
> 224 math.parser
> 206 io.files
> 206 calendar
> 192 math.functions
> 190 math.order
> 180 continuations
> 172 hashtables
> 164 byte-arrays
> 160 quotations
> 158 classes.struct
> 154 classes
> 144 make
> 134 math.ranges
> 132 project-euler.common
> 120 io.streams.string
> 114 ui.gadgets
> 112 grouping
> 110 generic
> 110 destructors
> 104 parser
> 98 system
> 96 definitions
> 92 combinators.short-circuit
> 90 threads
> 88 math.vectors
> 88 io.pathnames
> 84 compiler.units
> 82 splitting
>
>
> ------------------------------------------------------------------------------
> Using storage to extend the benefits of virtualization and iSCSI
> Virtualization increases hardware utilization and delivers a new level of
> agility. Learn what those decisions are and how to modernize your storage
> and backup environments for virtualization.
> http://www.accelacomm.com/jaw/sfnl/114/51434361/
> _______________________________________________
> Factor-talk mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/factor-talk
------------------------------------------------------------------------------
Using storage to extend the benefits of virtualization and iSCSI
Virtualization increases hardware utilization and delivers a new level of
agility. Learn what those decisions are and how to modernize your storage
and backup environments for virtualization.
http://www.accelacomm.com/jaw/sfnl/114/51434361/
_______________________________________________
Factor-talk mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/factor-talk