Skip to content

serQ v0.1.0-rc8

Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 30 Sep 05:50
· 242 commits to main since this release
c51ae3f

--def NAME=expr (pyserq: compile(..., defs={"NAME": "expr"})) gives an expression def its body from outside, as --set gives a let its value: the program is the one written with that body, IR and all. A distribution, a key or a law per class the program leaves open under a name is a parameter of the run, where it had to be spliced into the program's text. The body may draw, read attributes and use the definitions before it; statement definitions and unknown names are errors; rejected on .json (#186).

pyserq Rng(seed): the generator a run draws from, rand 0.9's StdRng (next_u32, next_u64, random_f64, range_u64/range_u32/range_f64 with both ends included). A run seeded s draws its arrivals from Rng(s) (#185).

A NaN constant's error points at the expression when it has a place (#184).

IR version 9, as in rc7. No breaking change.

What's Changed

  • fix(link): a NaN constant's error keeps the expression's place by @vrvrv in #184
  • feat(pyserq): Rng, the generator a run draws from by @vrvrv in #185
  • feat: --def gives an expression definition its body from outside by @vrvrv in #186
  • chore(release): v0.1.0-rc8 by @vrvrv in #187

Full Changelog: v0.1.0-rc7...v0.1.0-rc8