peg away

Advanced (C1)informal

to keep working hard on something for a long time

"She kept pegging away at her thesis all summer."