GolfScript

GolfScript is a stack oriented esoteric programming language aimed at solving problems (holes) in as few keystrokes as possible. It also aims to be simple and easy to write.

Short code is achieved by using single symbols to represent high level operations (such as map, join, array size, etc). Being stack based allows for functions and other manipulations to work without the need for explicit variables, however variables still exist and are useful for more complicated stack manipulations.

To learn GolfScript, start with the tutorial and download the implementation. After you are comfortable with it, you may want to check out exactly how code is parsed and see all of the built ins.

If you have any suggestions or find any bugs please email me at golfscript at golfscript.com.

News

April 30, 2013: Peter Taylor provided a patch to speed up the operation of flatten, which was really inefficient (this has been merged to main version now).

Jan 6, 2013: Be sure to check out Rebmu another new human-readable code golf language by Brian Dickens, but with a completely different execution model.