29-MAR-2025
0730 - spring-cleaning-1
First things first, pretty sure I had dates wrong for previous log entries, so I adjusted.
Second, I’m working on extracting spell, but it’s more complicated because of the way I was managing specific state
update stuff, basically because I’m not using an interface for state objects. In particular I have a number of impls for
Familiar’s which fix a particular generic parameter, which I can’t do outside of the home crate; this is a good thing
ultimately, but will make extraction harder.
For now, I’m just cranking away at what errors I can resolve, and then once I’ve reduced to the minimum, I’ll figure out how to sort things.
I also need to refactor the old Variation-specific familiar and really Variation itself to a Tape/Spell based
system, but I want to get the crate extracted and the name change performed first.
1001 - spring-cleaning-1
Couple remaining open refactoring jobs now:
- Cache needs to be refactored to a generic key, ultimately this will be a LRU cache with a generic key type.
- Spell needs to have Familiar refactored to rely on a trait
- Tape needs to be renamed to Spell
- Move
BEN-> -basic- This means figuring out the
to_fen_positionextension, which might be able to stay put? IDK. In theory that means this can just be moved over and no api change, since query is already over there.
- This means figuring out the
- FIXMEs, TODOs, and the like need an audit.
- Reorganize directory structure
- Rename -core to -representation
- rename -basic to -core
- Get all the tests uncommented (in place) and passing.
Once all these are done (and I just want to audit tags for now, not necessarily do anything to resolve them unless it’s very easy), I can get started on the test refactoring, which’ll be spring-cleaning-2, I think.
1517 - spring-cleaning-1
Finished extracting spell and moving ben to -basic. Dependencies are already minimized, and I can see the end
approaching. This ticks off #4 from above.
1527 - spring-cleaning-1
Reorganized the crates a bit, deeper directory structure but cleaner lines. Finishes #6 above.