GolfScript versus RPL



#2

I've been reading up on a fairly new programming language called Golf Script Since it's stack based, it reads very much like RPL.

Curious if anyone here has experience in this language??

For example, the coercion behaviors from the tutorial are nearly identical to the way the HP48/49/50 treat similar inputs.

GOLFSCRIPT
1[2]+ -> [1 2]
1'2'+ -> "12"
1{2}+ -> {1 2}

And the first example in the tutorial, is notably post-fix

Example:

1 1+

Has 3 items, "1", "1", "+". The ones push the number 1 onto the
stack. The + is a built-in block defined to take the top two stack
items, add them together, and push the result on the stack.


Possibly Related Threads…
Thread Author Replies Views Last Post
  Writing RPL programs on OS X Sean Freeman 18 5,350 11-30-2013, 03:59 PM
Last Post: Sean Freeman
  48G vs 49G+ User RPL Speed Comparison John Colvin 7 2,701 11-16-2013, 10:07 PM
Last Post: Han
  RPL 32 David Hayden 4 2,123 11-11-2013, 11:34 AM
Last Post: David Hayden
  HHC / HP Museum Programming Contest for RPN and RPL machines Gene Wright 18 5,755 09-22-2013, 09:39 AM
Last Post: Miguel Toro
  HP-Prime_CAS versus MAPLE_CAS CompSystems 0 888 08-18-2013, 11:58 PM
Last Post: CompSystems
  Binary versus Decimal prefixes bill platt 22 5,387 04-27-2013, 11:22 AM
Last Post: Walter B
  RPL long vs. short names peacecalc 5 2,111 10-30-2012, 01:25 PM
Last Post: peacecalc
  Mini-challenge: HHC2012 RPL programming contest with larger input David Hayden 14 3,694 10-05-2012, 10:36 PM
Last Post: David Hayden
  HHC 2012 RPL Programming Contest Gene Wright 33 7,990 09-27-2012, 01:57 AM
Last Post: Werner
  HHC 2012 programming contests coming soon (RPN and RPL) Gene Wright 9 2,768 09-21-2012, 03:38 PM
Last Post: Paul Dale

Forum Jump: