All that setup work just to be able to write this:
```
prn_assign_t *assign = prn_mk_assign(PRN_ITEXT("foo"), PRN_DV_HTEXT("bar"));
prn_istate_t *as_rc = prn_eval_assign(prn_rc_lend(orig), prn_rc_lend(assign));
prn_istate_t *as_dv =
prn_eval_dv(prn_rc_lend(orig), prn_conv(assign, assign, dv));
EQ(istate, as_rc, as_dv); // THE MONEY LINE
```
https://git.sr.ht/~maddiem4/prone/tree/main/item/tests/eval.c
The good news is, it's highly reusable, and I'll probably do test assertions on IStates all over the place now that it's convenient to do so. It was slow today because I was laying a solid foundation that will, eventually, make this project consistent in structure and easy to work on.
Thunk support is on the docket for tomorrow, and I expect to do all that and more for #WorkWednesday.
Returning next week: the weekly #WordPress Work thread. DM me a link to your job openings & I'll add them to next week's post thread.
Let's help folks find jobs in #WordPress. Add positions below.
(I'm not a hiring manager. Don't contact me for jobs.)
Sponsored by WS Form and The WP World.
Together we make our community strong.
#WorkWednesday #WordPressJobs
Tomorrow I'll post the weekly
#WordPress Work thread. DM me a link to your job openings & I'll add them to my tweet thread.
It’s Wednesday! Let's help folks find jobs in #WordPress. Add positions below.
(I'm not a hiring manager. Don't contact me for jobs.)
Sponsored by WS Form and The WP World.
Together we make our community strong.
#WorkWednesday #WordPressJobs
It’s Wednesday! Let's help folks find jobs in #WordPress. Add positions below.
(I'm not a hiring manager. Don't contact me for jobs.)
Sponsored by WS Form and The WP World.
Together we make our community strong.
#WorkWednesday #WordPressJobs
Let's help folks find jobs in #WordPress. Add positions below.
(I'm not a hiring manager. Don't contact me for jobs.)
Sponsored by WS Form and The WP World.
Together we make our community strong.
#WorkWednesday #WordPressJobs