Get token location when parsing with nom

Hi,

I've been using a nom parser for my little LISP-like language for a while now.

Currently I'm trying to not just parse strings but also retrieve the position of each token.

I've been playing around with nom_locate but I'm not so sure whether that's what I'm looking for and I was wondering, are any alternative ways?

Best,
N