@Dennis Can we get gnuplot installed on tio? A fedora package does exist but I think we might need to compile manually because I think the fedora package has X support included. Compiling without X is definitely possible because debian has a gnuplot-nox package.
Still not sure what happened, but I took one of the arenas out of rotation, restarted it, then re-enabled it. The error log suggests there wasn't enough memory, but the tools to measure memory usage didn't find anything.
@Downgoat tryitonline.net links to the home page, so I think it's a better fit.
@Dennis I didn't know gnuplot prints to STDERR by default. I haven't tested this personally but I found a stack overflow post saying that this program should print to STDOUT: set print "-";print "Hello, World!"
Still not sure what happened, but I took one of the arenas out of rotation, restarted it, then re-enabled it. The error log suggests there wasn't enough memory, but the tools to measure memory usage didn't find anything.
I maintain an open-source, JavaScript-based implementation of K, which does not appear to currently be supported by tryitonline.net. What does it take to add a new language?
@Dennis: skimming the logs a bit, I can explain the difficulties you were having with a K hello world program. ``` 0:"Hello, World" ``` is one statement prints to stdout and also returns the string value, which is displayed in the REPL. ``` 0:"Hello, World"; ``` would make the program two statements, the second of which returns nil, effectively suppressing output.
``` {}`0:"Hello, World" ``` suppressses output because {} is an anonymous function which can be applied to one argument (in this case the string) and which returns nil because the body of the lambda is just an empty statement.
I believe Kona's dyadic 0: simply returns nil instead of its input, avoiding the need for any sort of REPL output suppression.
@Dennis I noticed a comment on HN that goes "At TIO I picked PHP to test and it gives me options like headers, options (without a list of options/settings to modify, just an "Add" button)... " so I think that the drawer name is unclear.
Having example programs available for each language sounds a bit labor-intensive but would definitely be nice. Maybe it would be possible to link/scrape Rosetta Code?