Loops in routes.yaml or yearly default routes?

Hello

I would like the possibilities to enter loops in routes files.

Examples, I have those entries for the last 25 years… so 100 lines :

  /year/2008/:
    controller: channel
    filter: published_at:>='2008-01-01'+published_at:<='2009-01-01'
    order: published_at asc

  /year/2009/:
    controller: channel
    filter: published_at:>='2009-01-01'+published_at:<='2010-01-01'
    order: published_at asc

  /year/2010/:
    controller: channel
    filter: published_at:>='2010-01-01'+published_at:<='2011-01-01'
    order: published_at asc

Instead, I would like something as:

{{for year 1 to 10}}
      /year/20{{year}}/:
        controller: channel
        filter: published_at:>={{year}}-01-01'+published_at:<='{{year++}}-01-01'
        order: published_at asc
{{/for}}

Or maybe, more simple, create those “yearly” routes by defaults in backend?