Code tableaus