Damnit. Fix last commit
Fix GS-REPR for strings containing single quotes
This solution is slightly unsatisfying, as for strings which contain
single quotes but no double quotes, such as "foo's", the returned repr
is: 'foo\'s', rather than "foo's". Detecting this should be easy enough,
but is an enhancement, not a bugfix, so I'll do it later(TM)
Add test case (which currently fails)
It's to do with evaluating strings containing escaped string delimiters
Fix bug in tokenizing blocks
Previously whitespace within blocks was lost during tokenization.
This mostly doesn't matter since golfscript doesn't care too much
about whitespace, but cases like {1 2} obviously do, and besides,
blocks are basically strings, which can be converted back with ''+, so
maintaining whitespace matters even if it doesn't change the semantics
of the block.
Fix test case: 1 2 [\]
Decrement stack marks on popping