Skip to content

Releases: sheep-farm/hayashi

v0.2.9

Choose a tag to compare

@sheep-farm sheep-farm released this 09 Jul 19:47

What's new in 0.2.9

Formula system

  • Arbitrary expressions in RHS terms: log(K), I(x^2), log(K):log(L) now work end-to-end
  • Interactions between any expressions via : operator
  • Readable coefficient names in output (log(K):log(L) instead of __inter_2)

Language

  • F-strings parsed at parse-time (zero runtime reparse)
  • expr_display covers all AST variants — no more silent _ for valid expressions

Robustness

  • Eliminated all unjustified unwrap() calls in interpreter core
  • env.rs, post_estimation_ts.rs, estimators_panel.rs, dispatch.rs hardened

Code quality

  • exec() decomposed into 7 private methods — from 1366 to ~240 lines
  • helpers.rs organised into 9 labelled sections

Validation programme (new)

  • ~40 cases validated against R and Python on real datasets (Wooldridge, AER, statsmodels)
  • All estimators pass: OLS, WLS, IV, Logit, Probit, Panel FE/RE, Poisson, NegBin, Tobit, Heckman, Cox, Quantile, ARIMA, VAR, VECM, GARCH, DiD, GMM, PSM, RDD, SUR, and more
  • hay validate command runs the full programme locally

Dependencies

  • Greeners 1.5.4 (preserves column insertion order, fixes get_string for Categorical columns)

What's Changed

Full Changelog: v0.2.8...v0.2.9

Nightly Build

Nightly Build Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 08 Aug 04:11

Automated nightly build from the dev branch.

Not a stable release. May contain bugs and incomplete features.
Use hay dist-update --nightly to install, or download manually below.

Build date:
Commit: 36d04b4

v0.2.9-beta.1

v0.2.9-beta.1 Pre-release
Pre-release

Choose a tag to compare

@sheep-farm sheep-farm released this 07 Jul 21:52

Pre-release (beta)

Fixed

  • CSV export column order: to_csv no longer sorts columns alphabetically. Insertion order preserved via IndexMap.
  • append() losing string columns: get_string() now handles Categorical columns.
  • Plugin resolution on Windows: HOME falls back to USERPROFILE. Searches executable directory. HAYASHI_PATH uses ; on Windows.

Added

  • ++ and -- increment/decrement operators
  • for i, v in list and for k, v in dict bindings
  • try/catch/finally with finally block
  • hay install with version, hay list shows versions
  • match as contextual keyword
  • list_files() builtin
  • Interpreter decomposition (~4800 → ~680 lines)
  • English-only user-facing output

Not published to crates.io. Binary-only pre-release for testing.

v0.2.8

Choose a tag to compare

@sheep-farm sheep-farm released this 07 Jul 00:22

What's new

  • WebAssembly playground: full Hayashi interpreter runs in the browser with syntax highlighting, live output capture, and example snippets
  • Increment/decrement operators: x++ and x-- desugar to x = x + 1 and x = x - 1
  • Static site: landing page, docs, plugins, community, and playground pages
  • Privacy: no cookies, no tracking, no external dependencies beyond Google Fonts

Dependencies

  • Greeners 1.5.2 (fixes RUSTSEC-2026-0204: crossbeam-epoch vulnerability)

Install

git clone https://github.com/sheep-farm/hayashi.git
cd hayashi
cargo build --release
./target/release/hay --version

What's Changed

Full Changelog: v0.2.7...v0.2.8

v0.2.7

Choose a tag to compare

@github-actions github-actions released this 05 Jul 00:03

What's Changed

Full Changelog: v0.2.6...v0.2.7

v0.2.6

Choose a tag to compare

@github-actions github-actions released this 03 Jul 16:14

What's Changed

Full Changelog: v0.2.5...v0.2.6

What's Changed

Full Changelog: v0.2.5...v0.2.6

v0.2.5

Choose a tag to compare

@github-actions github-actions released this 28 Jun 20:59

Full Changelog: v0.2.4...v0.2.5

v0.2.4

Choose a tag to compare

@github-actions github-actions released this 27 Jun 03:09

Full Changelog: v0.2.3...v0.2.4

v0.2.3-patch.202601

Choose a tag to compare

v0.2.3

Choose a tag to compare

@github-actions github-actions released this 25 Jun 14:28

Full Changelog: v0.2.2...v0.2.3