Closed nishantjr closed 6 years ago
I fixed this a while ago. You're using an old executable. Now the correct command is
echo "(program 0.1.0 [(lam x [(con integer) (con 2)] x) (con 2 ! 4)])" | plc evaluate --stdin
We updated the README, but we also should have warned you about the changes. Sorry about that.
Please confirm plc evaluate --stdin
works correctly and I'll close this.
Yes, sorry, thanks for the update. We were still using language-plutus-core-run-ck
. It all works now with plc evaluate --stdin
.
Cool.
The spec allows integers with size 1 as large as 127, but the reference implementation overflows at just 4.