3 ms·
Please add a screenshot of code to the readme and also fill your online editor with a block of example code.
by dsun180 7y ago
Please add a screenshot of code to the readme and also fill your online editor with a block of example code.
- capableweb 7y agoThere seems to be a couple of examples but the UX for discovering them is a bit poor. Author could do a better job surfacing them up front instead. In the meantime, here is where you can find them: - Online editor has a "Hello World" button that loads a very basic example - https://github.com/m-ender/retina/tree/master/Examples https://github.com/m-ender/retina/tree/master/Examples has a bunch of more example, linked from the landing page - https://github.com/m-ender/retina/wiki/The-Language https://github.com/m-ender/retina/wiki/The-Language shows the entire language (AFAIK), but it's a reference.
- mbue 7y agoHi, author here! Thanks for the feedback. I'm not in charge of Try It Online, so I can't do anything about filling it with code by default, but as someone else noted, there is a Hello World button, which fills in a (very trivial) snippet. There also a bunch of examples with tutorial-like explanation in the Examples folder. I'll think about adding one example to the main README though, just to really put people off of looking further into the language. ;) While I'm here, in case anyone does actually use the language and find it to be useful, I also wrote a VS Code extension that lets you use it as a powerful search-and-replace alternative: https://github.com/m-ender/vscode-retinate https://github.com/m-ender/vscode-retinate
- aloisdg 7y agoI know you from codegolf. I love reading your solutions especially in Retina. Keep golfing!