hydra icon indicating copy to clipboard operation
hydra copied to clipboard

Port Reduction module to Java

Open aman-dureja opened this issue 2 years ago • 2 comments

https://github.com/CategoricalData/hydra/blob/main/hydra-haskell/src/main/haskell/Hydra/Reduction.hs

aman-dureja avatar Feb 23 '23 23:02 aman-dureja

A simplified betaReduceTerm function is sufficient for now... just enough to evaluate application terms for the test suite

joshsh avatar Mar 01 '23 19:03 joshsh

This is largely done, in that an analogous term reduction function exists in Haskell and Java (note that the new and superior function was ported from Java to Haskell rather than the other way around). Leaving the issue open, as there are a few smaller pieces of code, such as eta reduction, which are not yet migrated.

joshsh avatar Mar 18 '23 15:03 joshsh