Coding 2024-03-01
Okay, I'm in a little better shape compared to yesterday, but I do need to hurry here.
I've improved the basic wrapper class, and I think it's about ready. I've written a mixin class for wrappers around that, which layer semantics around the the helper methods from the basic wrapper. None of those semantics are written yet. I'm aware that some of them are going to need some further tweaks; I haven't really thought about headings yet. Most things are ready to be filled in, but there is one wrinkle I'm trying to figure out how I want to handle:
Chapters can have several different types of children; their first child could be a subtitle, and their children (including the first) can be scenes or summaries. I have an attempt at a helper for handling these constraints, but I don't know that I've hit the right design yet. I'll think about that more later, because right now it's late.
One last thing; here is what I think I need to get done:
- Figure out how to handle headings
- Figure out the right way to handle children of chapters
- Actually write the code to process this stuff out
- Migrate draft from the text file to the outline
- Update build process
That'll all take some time, and the right thing for me to do right now is sleep.
Good night.