preparing perl parser for tokenization and parse callbacks; Still need to tie off hash_terminal_states configuration