News for hackers. Stuff that matters.
Re:Show HN: A puzzle game inspired by functional programming... by deskamess on Tuesday June 02, 2015 @07:07AM (#9645080)
Like others I would like to second the visualization of block sizes better. And a brief explanation of commands like stackEqual (is there some sort of normalization going on to unit size?). push(X) would probably be better read as layer(X) or stack(X).

Is there a way to normalize the program into a text string and also convert text string back into the program. This would allow for easy cut/paste sharing between users (including HN comments).

This feedback is based on having completed up to 1.2 only.

Re:Show HN: A puzzle game inspired by functional programming... by sharkdp on Tuesday June 02, 2015 @07:53AM (#9645225)
Thank you for the valuable feedback!

There is no import/export available right now, but you can take a look at the developer console for an output line like

Program: ["rejectO","replaceYbyBY","replaceBbyOO"]

I definitely like the idea, however. It should be quite simple to implement it. Basically, the 'code' right now is just the compositions of different 'transformers'. In pseudo-PureScript:

rejectO >>> replaceYbyBY >>> replaceBbyOO