[Introspector-developers] RDF stats applied to parrot
Status: Beta
Brought to you by:
mdupont
|
From: James M. D. <mdu...@ya...> - 2003-01-25 09:42:34
|
Hey all, Here are a set of node types, the ones used to define the parrot core which i ran through the introspector. identifier_node --- Name of things boolean_type,integer_type,real_type -- types of things that are simple const_decl Constant values var_decl variable values Note that all nodes that have a name like *_decls have a field "type" that has a name like "type_*" Also, all "*_decls" have a name that is a type_decl or identifier_node tree_list -The rest of the more complex types need a tree_list function_decl, # a function declaration parm_decl # list of parmeters array_type # an array type integer_cst, # list of sizes of dimensions enumeral_type integer_cst # the value of the enum identifier_node # then name of the enum record_type,union_type, # structures field_decl # list of fields # a void is very special void_type The following are derived types : pointer_type,reference_type # function types allow for linkage function_type, type_* # we have a list of # here the user defines its own type_decl # this is a commonly defined user type complex_type, I ran the new RDFStats.pl (for two days (how slow)) on the parrot code. here are the names of the types of nodes and how often they occurred 4 boolean_type 8 reference_type 34 complex_type 66 union_type 68 parm_decl 124 var_decl 132 array_type 224 real_type 1204 enumeral_type 1468 void_type 1804 const_decl 2792 record_type 3344 field_decl 3930 type_decl 4414 integer_type 4592 function_type 5076 function_decl 6142 pointer_type 10254 tree_list 10864 integer_cst 13562 identifier_node here are the names of the fields and how often they occurred 4 refd 32 args 50 const 68 argt 86 restrict 96 used 108 high 112 domn 120 elts 232 csts 272 mngl 462 prec 684 flds 884 max 888 min 1474 low 1804 cnst 1804 purp 2356 unql 2508 ptd 2556 prms 2568 retn 3204 bpos 3272 scpe 5148 algn 5650 modifier 6098 lngt 6098 strg 6532 filename 6532 linenumber 10112 valu 10196 size 15072 name 16012 type 20232 chan 22610 tree-code here are the modfiers : extern "2516" undefined "2514" unsigned "256" struct "346" union "12" static "6" mike ===== James Michael DuPont http://introspector.sourceforge.net/ __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com |