Questions tagged [golfscript]

This challenge is related to the GolfScript language. Note that challenges that require the answers to be in a specific language are generally discouraged.

Filter by
Sorted by
Tagged with
12 votes
1 answer
285 views

Coercing a string to an integer in GolfScript

GolfScript automatically coerces values, according to the following ‘priority’ sequence: integer → array → string → block (listed from lowest to highest.) This means that ...
user avatar
8 votes
3 answers
2k views

GolfScript, CJam, or Pyth? [duplicate]

Which language usually produces shorter golfed code: Pyth, CJam or Golfscript? In asking this, I do not mean which has a prettier syntax or which has the most useful commands, I mean overall, which ...
user avatar
  • 2,510
12 votes
2 answers
834 views

Best place for learning GolfScript? [closed]

It looks like a fun language, but the official site is down and the EsoLangs page doesn't explain it quite well and looks like it's missing stuff. Is there anywhere that the language is documented?
user avatar
  • 2,612
11 votes
1 answer
480 views

Golfscript Diagonal Array

Is there a way in Golfscript to bring all of the diagonals of an array into a single array? For example, for the array [[1 2 3][4 5 6][7 8 9]] return ...
user avatar
29 votes
9 answers
2k views

Anti-golfscript anti-golf: create a task where GolfScript or J is outgolfed by your (conventional) lang [closed]

You need to make three things: Statement of a task, T. Solution of the task in language not typically used for golfing, A. Solution of the task in language typically used for golfing, B. Don't try to ...
user avatar
  • 2,687
13 votes
23 answers
2k views

An improved version of GolfScript [closed]

I am planning to write an improved GolfScript for even shorter programs that can do more things. This is not a challenge; it is a request for feedback and tips on what I should do. (see tags) I'm not ...
9 votes
2 answers
905 views

The GolfScript Meta Par Hole

Seem like GolfScript wins all of these. So you can't beat them, join them. Write an Self-Contained Golfscript Interpreter I'm using the definition of self-contained to mean, a single program:- So no ...
user avatar
  • 1,314
41 votes
18 answers
5k views

Tips for golfing in GolfScript

What, this post doesn't exist yet? Of course, GolfScript is made for golfing, so you might think that no specific tips are really needed. But to make full use of GolfScript's features, you need to ...
user avatar
8 votes
2 answers
675 views

GolfScript - The missing function

The GolfScript language has one serious lack, no float or fixed point handling. Remedy this by creating a function F for converting an integer number, given as a string, to a string representing 1 / ...
user avatar
  • 4,395