Brainfuck in one line of Python
cs.princeton.edu
cs.princeton.edu
1400+ bytes of tightly packed Python just isn't in the same class.
In Python that means, essentially, one expression. That's what makes it a stunt.
I see he's set himself a very different goal, which is fine but not that interesting to those of us that aren't Python programmers, I guess.
What disappointed me was clicking through from a headline that seemed to indicate it'd be a tiny implementation, when it's in fact rather bloated.
`(progn ,@program)
What have we achieved here?Whether or not the feat itself is impressive or not I don't really know but the reason for the quest was motivated.
That this was even possible surprised me somewhat, that he actually figured it out I find quite impressive.
It is nice how the author completely ignored LALR parsers[1], peg parsers[2], and so on.