-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Come up with some handy examples for Elchemy-live #295
Comments
I'd like to help with this but I just want to check first, can examples only ever return a string? Would be nice to at least render html and css, and ideally perform a command, though I understand we're not there yet :) |
@N10K The Any example presenting the language syntax and features like types aliases or currying would be the most helpful |
I get that, but a backend may generate an HTML string, and the elmchemy-live right iframe might render it directly. That would ease presenting things computed by the code on the left side methinks. |
Well it prints the string. The target for elchemy-live was to behave like a web console. So the output looks like it would printed in a REPL. You can see a layout planned in this issue |
I see. Then may I suggest the Also that would match the idea of a CLI target usage. |
I don't think I understand. What would it take the arguments out of? |
From your latest layout prototype one might expect a prompt, so that you could pass args to the program. All my suggestions may sound like unnecessary candy, but candy is important when developers discover a new API. Just my opinion obviously. |
@n1k0 It's always worth to see another point of view! The nature of elchemy-live is strongly experimental and more in a proof of concept form right now. My first idea for the elchemy-live was a browser REPL kind of thing (strongly influenced by Elixir Playground which unfortunately seems to be down for at least a month now) I like the idea of adding some interactivity to it. |
Follow up for #163
You can now see Examples section in Elchemy-live (http://elchemy-live.herokuapp.com/new)
It'd be nice to think of some good examples with decent comments to make people more familiar with the syntax.
@ShalokShalom It feels like you might be helpful here
The text was updated successfully, but these errors were encountered: