From f768d9bdb84e846d89aac66a4f3433a44241c298 Mon Sep 17 00:00:00 2001 From: Galin Simeonov Date: Mon, 17 May 2021 17:29:08 +0300 Subject: parser formed --- .gdb_history | 242 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 242 insertions(+) (limited to '.gdb_history') diff --git a/.gdb_history b/.gdb_history index 6b826e1..a7d0bd7 100644 --- a/.gdb_history +++ b/.gdb_history @@ -131,3 +131,245 @@ s n n q +b main +r test +n +record +n +rs +r +record stop +n +print translation_unit +print *translation_data +print *translation_data->errors +n +s +n +s +r test +print ast +b parse_unit +r +r test +s +n +rs +r +record +r +s +n +rs +r +s +n +n +rs +r +n +r +y +s +n +n +s +n +n +n +r +n +r +s +n +s +n +n +n +n +n +s +n +s +n +where +r +s +n +r +s +n +s +n +n +s +print ast +print *ast +r +s +n +s +n +b main +r test +n +s +s +n +s +n +n +s +n +print ((struct token*)translation_data->tokens->first->data-) +print ((struct token*)translation_data->tokens->first->data-)) +print ((struct token*)translation_data->tokens->first->data) +print *((struct token*)translation_data->tokens->first->data) +print ((struct token*)translation_data->tokens->first->data)->ytpe +print ((struct token*)translation_data->tokens->first->data)->type] +print ((struct token*)translation_data->tokens->first->data)->type +b parse_unit +r test +s +n +r +s +n +r +s +n +n +n +n +s +n +print machine_id +print *machine_id +n +print (struct token*)translation_data->tokens->first->data +print ((struct token*)translation_data->tokens->first->data)->type +b parse_machine_inner +r test +n +print states +r +n +s +n +s +n +b parse_start_on +r test +n +n +print *hol +print *hold_id +n +print hold_state +print states->states_map +print *states->states_map +print hold_id->data +print hold_id->data[hold_id->size] +r +r +r test +rs +where +print str +b get_ast_states +r +n +n +print *state +print *hold_state +print *hold_state->id +print hold_state->id->size +s +s +n +print id +print tree +print tree->ID +n +n +s +n +print tree->ID +b get_ast_states +r +r test +n +s +print id +print size +print (char*)str +print *(char*)str +r +n +s +print id +print *(char*)str +r +n +q +r test +print *ast +print ast +where +b delete_ast_pipeline +r +n +n +print ast->pipeline +print ast->pipeline[i] +print *ast +print ast->pipeline[0] +print ast->pipeline[1] +print ast->pipeline[2] +print ast->pipeline[3] +print ast->pipeline[4] +print ast->pipeline[5] +b get_ast_pipeline +r +n +b parse_pipeline +r +where +b parse_unit +r test +s +n +r +s +n +r +s +n +s +n +print starting_state +print *starting_state +print *starting_state->id +n +n +print ( (struct token *)translation_data->tokens->first->data)->id +print ( (struct token *)translation_data->tokens->first->data)->type +print *translation_data +print *translation_data->errors +b 124 +r +co +c +s +n +n +n +n +print ( (struct token *)translation_data->tokens->first->data)->type +rs +r +c +s +n +s +q -- cgit v1.2.3