sroelants / simbelmyne

A somewhat UCI compliant chess engine that could probably beat you.
GNU General Public License v3.0
17 stars 1 forks source link

Eval/the great refactor #275

Closed sroelants closed 2 months ago

sroelants commented 2 months ago

Refactor the whole Eval tuner to be (marginally) less boilerplatey.

Still plenty boilerplatey, and I still hate it with a passion. But at least the serializing/deserializing from struct to array happens automatically, and we're not implementing every search feature 2x, once for the engine, once for the trace.

I could see us taking it one step further by writing a derive macro that does a lot of this stuff for us...