This shows you the differences between two versions of the page.
|
hacking [2009/12/03 01:49] redbrain |
hacking [2010/01/12 16:31] (current) redbrain |
||
|---|---|---|---|
| Line 50: | Line 50: | ||
| <code> | <code> | ||
| - | redbrain ~/workspace/crules-dev/imp/crules $ ./src/crules examples/goto.crl | + | redbrain@omicron:~/workspace/crules/imp/crules$ ./src/crules examples/goto.crl |
| - | debug: hash_table.c:450 -> Initilizing... | + | debug: <hash_table.c:init_tables:476> -> Initilizing... |
| - | debug: hash_table.c:469 -> System tables initilized! | + | debug: <hash_table.c:init_tables:495> -> System tables initilized! |
| - | debug: main.c:60 -> trying to open 'examples/goto.crl'! | + | debug: <main.c:crules:60> -> trying to open 'examples/goto.crl'! |
| - | debug: runtime.c:1001 -> exec of pass symbol type: '0xF020' | + | debug: <runtime.c:toplevel_exec_symbol:1215> -> exec of pass symbol type: '0xF021' |
| - | debug: runtime.c:161 -> variable assignment! | + | debug: <runtime.c:expression_assign:624> -> expression assign! |
| - | debug: hash_table.c:261 -> looking up identifier 'list' - hash 0xCFB5881 | + | debug: <runtime.c:evaluate_expression:666> -> evaluation expression! |
| - | debug: hash_table.c:264 -> stack frame size :: '1'! | + | debug: <runtime.c:evaluate_expression:669> -> expression is a singleton item! |
| - | debug: runtime.c:1037 -> Pass Completed! | + | debug: <runtime.c:format_list:50> -> formating list... |
| - | debug: parser.y:720 -> anon method definition! | + | debug: <runtime.c:function_branch_exec_symbol:1100> -> exec of pass symbol type: '0xF01F' |
| - | debug: parser.y:189 -> pushing method definition! | + | debug: <runtime.c:variable_assignment:153> -> variable assignment! |
| - | debug: parser.y:871 -> function call without args! | + | debug: <hash_table.c:lookup_context_table:258> -> looking up identifier 'list' - hash 0xCFB5881 |
| - | debug: runtime.c:1001 -> exec of pass symbol type: '0xF001' | + | debug: <hash_table.c:lookup_context_table:261> -> stack frame size :: '1'! |
| - | debug: runtime.c:1001 -> exec of pass symbol type: '0xF025' | + | debug: <runtime.c:symbol_clone:516> -> symbol cloning! |
| - | debug: hash_table.c:261 -> looking up identifier 'list' - hash 0xCFB5881 | + | debug: <runtime.c:symbol_clone:516> -> symbol cloning! |
| - | debug: hash_table.c:264 -> stack frame size :: '2'! | + | debug: <runtime.c:symbol_clone:516> -> symbol cloning! |
| + | debug: <runtime.c:symbol_clone:516> -> symbol cloning! | ||
| + | debug: <runtime.c:symbol_clone:516> -> symbol cloning! | ||
| + | debug: <runtime.c:symbol_clone:516> -> symbol cloning! | ||
| + | debug: <runtime.c:function_branch_exec_symbol:1203> -> symbol pass fully executed! | ||
| + | debug: <runtime.c:toplevel_exec_symbol:1309> -> symbol pass fully executed! | ||
| + | debug: <garbage.c:free_hash_table:160> -> freeing hash table! | ||
| + | debug: <garbage.c:free_hash_table_symbols:170> -> free_hash_table_symbols! | ||
| + | debug: <garbage.c:free_symbol:121> -> garbage symbol identifier '3' | ||
| + | debug: <garbage.c:free_symbol:121> -> garbage symbol identifier '1' | ||
| + | debug: <garbage.c:free_symbol:121> -> garbage symbol identifier '2' | ||
| + | debug: <garbage.c:free_symbol:121> -> garbage symbol identifier '0' | ||
| + | debug: <garbage.c:free_symbol:121> -> garbage symbol identifier '4' | ||
| + | debug: <parser.y:yyparse:582> -> anon method definition! | ||
| + | debug: <parser.y:yyparse:154> -> pushing method definition! | ||
| + | debug: <parser.y:yyparse:713> -> function call without args! | ||
| + | debug: <runtime.c:toplevel_exec_symbol:1215> -> exec of pass symbol type: '0xF033' | ||
| + | debug: <runtime.c:function_branch_exec_symbol:1100> -> exec of pass symbol type: '0xF035' | ||
| + | debug: <hash_table.c:lookup_context_table:258> -> looking up identifier 'list' - hash 0xCFB5881 | ||
| + | debug: <hash_table.c:lookup_context_table:261> -> stack frame size :: '2'! | ||
| { 1, 2, 3, 4, 5 } | { 1, 2, 3, 4, 5 } | ||
| - | debug: runtime.c:1037 -> Pass Completed! | + | debug: <runtime.c:function_branch_exec_symbol:1203> -> symbol pass fully executed! |
| - | debug: runtime.c:1001 -> exec of pass symbol type: '0xF034' | + | debug: <runtime.c:function_branch_exec_symbol:1100> -> exec of pass symbol type: '0xF021' |
| - | debug: runtime.c:614 -> expression assign! | + | debug: <runtime.c:expression_assign:624> -> expression assign! |
| - | debug: runtime.c:658 -> expression is a singleton item! | + | debug: <runtime.c:evaluate_expression:666> -> evaluation expression! |
| - | debug: runtime.c:161 -> variable assignment! | + | debug: <runtime.c:evaluate_expression:669> -> expression is a singleton item! |
| - | debug: hash_table.c:261 -> looking up identifier 'list' - hash 0xCFB5881 | + | debug: <runtime.c:function_branch_exec_symbol:1100> -> exec of pass symbol type: '0xF01F' |
| - | debug: hash_table.c:264 -> stack frame size :: '2'! | + | debug: <runtime.c:variable_assignment:153> -> variable assignment! |
| - | debug: garbage.c:112 -> symbol identifier 'list' | + | debug: <hash_table.c:lookup_context_table:258> -> looking up identifier 'list' - hash 0xCFB5881 |
| - | debug: garbage.c:139 -> freeing hash table! | + | debug: <hash_table.c:lookup_context_table:261> -> stack frame size :: '2'! |
| - | debug: garbage.c:149 -> free_hash_table_symbols! | + | debug: <runtime.c:symbol_clone:516> -> symbol cloning! |
| - | debug: garbage.c:112 -> symbol identifier '3' | + | debug: <garbage.c:free_hash_table:160> -> freeing hash table! |
| - | debug: garbage.c:112 -> symbol identifier '1' | + | debug: <garbage.c:free_hash_table_symbols:170> -> free_hash_table_symbols! |
| - | debug: garbage.c:112 -> symbol identifier '2' | + | debug: <garbage.c:free_symbol:121> -> garbage symbol identifier '3' |
| - | debug: garbage.c:112 -> symbol identifier '0' | + | debug: <garbage.c:free_symbol:121> -> garbage symbol identifier '1' |
| - | debug: garbage.c:112 -> symbol identifier '4' | + | debug: <garbage.c:free_symbol:121> -> garbage symbol identifier '2' |
| - | debug: runtime.c:1037 -> Pass Completed! | + | debug: <garbage.c:free_symbol:121> -> garbage symbol identifier '0' |
| - | debug: runtime.c:1070 -> freeing local stack frame! | + | debug: <garbage.c:free_symbol:121> -> garbage symbol identifier '4' |
| - | debug: garbage.c:139 -> freeing hash table! | + | debug: <runtime.c:function_branch_exec_symbol:1203> -> symbol pass fully executed! |
| - | debug: garbage.c:149 -> free_hash_table_symbols! | + | debug: <runtime.c:function_branch_exec_symbol:1203> -> symbol pass fully executed! |
| - | debug: runtime.c:1073 -> done freeing stack frame! | + | debug: <runtime.c:exec_branch:1340> -> freeing local stack frame! |
| - | debug: runtime.c:1037 -> Pass Completed! | + | debug: <garbage.c:free_hash_table:160> -> freeing hash table! |
| - | debug: garbage.c:112 -> symbol identifier 'function' | + | debug: <garbage.c:free_hash_table_symbols:170> -> free_hash_table_symbols! |
| - | debug: runtime.c:1001 -> exec of pass symbol type: '0xF025' | + | debug: <runtime.c:exec_branch:1343> -> done freeing stack frame! |
| - | debug: hash_table.c:261 -> looking up identifier 'list' - hash 0xCFB5881 | + | debug: <runtime.c:toplevel_exec_symbol:1309> -> symbol pass fully executed! |
| - | debug: hash_table.c:264 -> stack frame size :: '1'! | + | debug: <runtime.c:toplevel_exec_symbol:1215> -> exec of pass symbol type: '0xF035' |
| + | debug: <hash_table.c:lookup_context_table:258> -> looking up identifier 'list' - hash 0xCFB5881 | ||
| + | debug: <hash_table.c:lookup_context_table:261> -> stack frame size :: '1'! | ||
| 5 | 5 | ||
| - | debug: runtime.c:1037 -> Pass Completed! | + | debug: <runtime.c:toplevel_exec_symbol:1309> -> symbol pass fully executed! |
| - | debug: garbage.c:82 -> cleanup....... | + | debug: <garbage.c:cleanup:92> -> cleanup....... |
| - | log: util.c:161 -> --- Crules Stats --- | + | log: <util.c:print_stats:160> -> --- Crules Stats --- |
| - | log: util.c:162 -> * heap size 0x114 | + | log: <util.c:print_stats:161> -> * heap size 0xF0 |
| - | log: util.c:163 -> * heap limit 0x1000000 | + | log: <util.c:print_stats:162> -> * heap limit 0x1000000 |
| - | log: util.c:164 -> * number malloc 23 | + | log: <util.c:print_stats:163> -> * number malloc 35 |
| - | log: util.c:165 -> * number calloc 5 | + | log: <util.c:print_stats:164> -> * number calloc 7 |
| - | log: util.c:166 -> * number realloc 0 | + | log: <util.c:print_stats:165> -> * number realloc 0 |
| - | log: util.c:167 -> * number free 27 | + | log: <util.c:print_stats:166> -> * number free 47 |
| - | log: util.c:171 -> * function table size 1 | + | log: <util.c:print_stats:170> -> * function table size 1 |
| - | log: util.c:180 -> * rule table size 0 | + | log: <util.c:print_stats:179> -> * rule table size 0 |
| - | log: util.c:186 -> --- --- --- --- --- | + | log: <util.c:print_stats:185> -> --- --- --- --- --- |
| - | debug: garbage.c:139 -> freeing hash table! | + | debug: <garbage.c:free_hash_table:160> -> freeing hash table! |
| - | debug: garbage.c:149 -> free_hash_table_symbols! | + | debug: <garbage.c:free_hash_table_symbols:170> -> free_hash_table_symbols! |
| - | debug: garbage.c:139 -> freeing hash table! | + | debug: <garbage.c:free_hash_table:160> -> freeing hash table! |
| - | debug: garbage.c:149 -> free_hash_table_symbols! | + | debug: <garbage.c:free_hash_table_symbols:170> -> free_hash_table_symbols! |
| - | debug: garbage.c:112 -> symbol identifier 'function' | + | debug: <garbage.c:free_symbol:121> -> garbage symbol identifier 'function' |
| - | debug: garbage.c:175 -> stack frame size :: '1'! | + | debug: <garbage.c:free_context_table:215> -> stack frame size :: '1'! |
| - | debug: garbage.c:139 -> freeing hash table! | + | debug: <garbage.c:free_hash_table:160> -> freeing hash table! |
| - | debug: garbage.c:149 -> free_hash_table_symbols! | + | debug: <garbage.c:free_hash_table_symbols:170> -> free_hash_table_symbols! |
| - | debug: garbage.c:112 -> symbol identifier 'list' | + | log: <util.c:print_stats:160> -> --- Crules Stats --- |
| - | log: util.c:161 -> --- Crules Stats --- | + | log: <util.c:print_stats:161> -> * heap size 0xF |
| - | log: util.c:162 -> * heap size 0x4A | + | log: <util.c:print_stats:162> -> * heap limit 0x1000000 |
| - | log: util.c:163 -> * heap limit 0x1000000 | + | log: <util.c:print_stats:163> -> * number malloc 35 |
| - | log: util.c:164 -> * number malloc 23 | + | log: <util.c:print_stats:164> -> * number calloc 7 |
| - | log: util.c:165 -> * number calloc 5 | + | log: <util.c:print_stats:165> -> * number realloc 0 |
| - | log: util.c:166 -> * number realloc 0 | + | log: <util.c:print_stats:166> -> * number free 62 |
| - | log: util.c:167 -> * number free 40 | + | log: <util.c:print_stats:174> -> * function table size nill |
| - | log: util.c:175 -> * function table size nill | + | log: <util.c:print_stats:183> -> * rule table size nill |
| - | log: util.c:184 -> * rule table size nill | + | log: <util.c:print_stats:185> -> --- --- --- --- --- |
| - | log: util.c:186 -> --- --- --- --- --- | + | |
| </code> | </code> | ||