Skip to content

Draft: #935 Move timer data structures to variables storage.

Albert Hofkamp requested to merge 935-simplify-program-flow into develop

Last Friday I had a day off, as the weather was too good not to go for a walk.

While waiting for the elevator, I realized that all this provider-driven or demand-driven is mostly about getting a more linear flow of data. The step forward was then that in fact we already have this linear flow, in the form of a sequence of statements that create and call the various generators in the BaseTarget class.
So, what would happen if you'd see each generator as a sub-routine? Today I tried that, and it seems to work quite nicely so far.

The lower level generators for names and types are used so often that they are not really a (once used) generator, I relabeled those to being a 'service' and passed them in through the constructors.
The converted generators now produce results rather than pushing it to other generators. For compatibility, the generator code sequence currently pushes the data in. Eventually it should go in through the processing call probably.

Addresses #935 (closed)

Merge request reports