bdarcus / csln

Reimagining CSL
Mozilla Public License 2.0
12 stars 0 forks source link

Roadblock! #53

Closed bdarcus closed 1 year ago

bdarcus commented 1 year ago

I've gotten a bit stuck with Rust in #52.

I realized I need to move the logic in the Render stuff in the processor to the InputReference, or even outside that.

For example, core functions like sorting and grouping really need to be able to do things like:

ref.issued.year()
ref.author.sort_key()
ref.author.display()

But I'm not sure how that should work, and what should go where.

I don't like, for example, having it in the same module as the input bib model, since that's not really defining processing.