ndouglas / downdelving-old

An experimental roguelike written in Rust.
The Unlicense
1 stars 0 forks source link

Preprocessed raws with Jsonnet? #21

Open ndouglas opened 2 years ago

ndouglas commented 2 years ago

Story

There's a decent amount of redundancy in the raws, and there are a number of ways of dealing with this. The way I had considered before (see #8 and #19) was to add more complexity to the data structure and to the application.

A better way might be to create a different source format for the raws. We might use separate files for each of the lists, and then preprocess them with Jsonnet to generate the JSON output that is ultimately consumed by the application.

I don't know Jsonnet, so I should do some research and ponder how this might be used to:

Acceptance Criteria

Implementation Notes