Skip to main content
10 votes
Accepted

Coercing a string to an integer in GolfScript

There's an operator ~ in golfscript, which does the following: bitwise not, dump, eval. Therefore, ...
Leaky Nun's user avatar
  • 49.9k
4 votes

Tips for golfing in GolfScript

Tuck an integer literal into a block If you have some code that pushes a block and then an integer between 100 and 255: {2,{2+base}/n}105,% You can save a byte by ...
lynn's user avatar
  • 68.9k
4 votes

Tips for golfing in GolfScript

Defining new built-in operators The standard GolfScript interpreter has a rarely used feature that allows interpolated Ruby code in double quoted string literals. One reason why this feature isn't ...
Ilmari Karonen's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible