jaspervdj / turnstyle

Turnstyle is a graphical esoteric programming language based on lambda calculus
https://jaspervdj.be/turnstyle/
GNU General Public License v2.0
76 stars 2 forks source link

rev and loop demos crash #1

Closed kfish closed 1 month ago

kfish commented 1 month ago

pi works fine for me, but rev and loop crash with error:

Interpreter crashed: TypeError: this.lhs.freeVars(...).union is not a function

(There's nothing in my Chrome devtools console, let me know if you need any other info)

jaspervdj commented 1 month ago

@kfish Thanks for opening this! It works fine for me in chrome and firefox. What browser version / OS are you using?

jaspervdj commented 1 month ago

After looking at this for a bit, I think that this may fix it: https://github.com/jaspervdj/turnstyle/commit/bf9a8635d9c62e8d8cc35173de28a781e788f800. Let me know if it's still broken (or if it breaks in different ways now!)

kfish commented 1 month ago

Yes that fixes it, thanks!