4 ms·
1. I am new to the concept of golf code and stack based languages, but I find the concept, and the implementation, quite compelling. Thank you for doing this -
by javajosh 13y ago
1. I am new to the concept of golf code and stack based languages, but I find the concept, and the implementation, quite compelling. Thank you for doing this - it is thought-provoking.
2. I was unable to get programs to run via http://www.rhoscript.com/try.html http://www.rhoscript.com/try.html. For example:
>>> "hello" print run
Sending to server.
Received response in 237ms.
>>>
I would expect the output to be "hello" but instead get what I assume are 3 newlines.
3. There is a small error in the text of your tutorial, at rhoscript.com/tutorial.html:
s/split-by-newlines results in a string with four elements/split-by-spaces results in a string with four elements/
- n_c 13y agore: the try.html page: don't include the "run" word. That's just a button I put on the pages to send you there automatically. "hello" print
- javajosh 13y agoAh, ok. That answers another question I had which was why you added a run keyword at all when it was so repetitive! I'd left out the run keyword before, but was confronted with the LISP output - which I assumed was something like an "explain plan" on a database, and I didn't read the stack dump closely enough. Another issue: I wanted to see the output of just range. So I typed in `8 range` and got no output. Then I looked through the examples for something simple that might output a list. I tried the primes example, `100 range-from-1 rest (gcd 1 neq) uniq-by` but got blank output. Thoughts?
- n_c 13y agoOkay, I had an issue with www.rhoscript.com and rhoscript.com causing XHR errors.