I've been using Nim online code playground from quite a while but it is not mobile friendly and the console overlaps the code while editing it, so i want that the console should be minimise-able and it should not overlap the code when editing it. And in desktop view(in my mobile), i cannot able to select any code and therefore not able to cut or copy any code.
I humbly request u to please fix it, so that i can able to share some nim code with my friends and community and hence making nim popular(i guess), thats all i want to say, thanks in advance, btw, this is my first thread here.
Nim support is also available at https://godbolt.org/, https://tio.run/# and https://replit.com/languages/nim
@Xigol, that Attempt This Online is a good find, currently running Nim version 1.6.4; as compared to Wandbox above, it lacks to ability to add multiple files/modules and multi-threading as it only runs on one thread per run Wandbox now offers six cores/twelve threads). Adding options/arguments needs a little guidance as they need to take the form of a list of strings as follows:
["-d:release", "--gc:orc", "-t:-march=native"]
But I'm not familiar with browser or front end things and Javascripts/Typescripts used in Compiler explorer. So I would appreciate if anyone help following issues: https://github.com/compiler-explorer/compiler-explorer/issues/2892 https://github.com/compiler-explorer/compiler-explorer/issues/3393
I have sent a Pull request to wandbox to add Nim 1.6.4 and it got merged so you can use it: https://github.com/melpon/wandbox-builder/pull/113 And melpon told me that you can add new version of Nim by just adding a version number to .github/workflows/build.yml.
Another advantage of wandbox.org compared to the Nim playgound is, it provides API so that we can use it from text editors by installing plugins. I can write Nim code on Neovim on termux on android, and wandbox-vim plugin can send the code to wandbox and receive output from it.
Thank you for creating Nim playgound and keep imporving it!
When I open playground on my android smart phone with vivaldi or firefox, there is only small space to display 1 line of source code, but almost half of space is used for a space to displaying program output. Changing font size to 6 can display 2 lines of source code, but that font size is hard to read. I need to scroll down a page to hide the address bar of my browser, but I cannot scroll down playground page. When I turn on screen keyboard, space to edit code is completely hidden, but "nim Playground Code on Github" top bar and output space is still displayed. Changing desktop mode can display 11 lines of source code, but when I turn on screen keyboard, all space to displaying source code is hidden.
I think at least 4 or 5 lines of code should be displayed even if things above source code space get out of the screen and program output space become small. And I think "Share to ix", "Showing: output" and "Run!" buttons can be placed on right side of source code space so that more lines of code are displayed. When screen is landscape mode, I think space to displaying source code should use from top to bottom and all buttons and settings like "Font size" are placed on right side of screen.