Translate source into block structure