Live data from Hacker News

WeScheme (web IDE)

wescheme.org

1–10 of 27 posts

Re: WeScheme (web IDE)

#2
Try this Hello world:

    (js-big-bang 0                ;; initial world
                 (on-draw ;; the dom tree renderer
                          (lambda (w)
                            (list (js-p '(("id" "myPara")))
                                  (list (js-text "hello world"))))

                          ;; the css renderer
                          (lambda (w)
                            '(("myPara" ("font-size" "30"))))))

Re: WeScheme (web IDE)

#3
Originally we had planned to include a structured editor, along the lives of DivaScheme and Scratch. This was shortly before widespread support of HTML5, so working with what we had I implemented it on top of `contenteditable`. In the end it just wasn't polished enough to ship.

Re: WeScheme (web IDE)

#5
I haven't had a chance to look at this properly yet but maybe somebody can clarify a few things.

This lets me do scheme->js in the browser using moby, which is implemented in racket. So my code gets converted to js on the server hosting this site. Does this mean I can (require ...) other racket libraries as well?

Bookmarked for later.

Re: WeScheme (web IDE)

#6
Thank you so much for doing this. I've been hoping someone would write a decent online REPL for a long time; hooking it into Google Docs sweetens the deal.

Re: WeScheme (web IDE)

#7
Michael Cote at redmonk has brought this up a few times this year. Most recently, http://www.redmonk.com/jgovernor/2011/06/24/ide-as-a-service...;

Truthfully, I don't know that it's going to kill conventional editor or editing habits (and by the time it does, I suspect that web-based IDEs will look significantly less like today's web-apps than they do today) and more that this technology will find a niche in code review, or version control interfaces, or something like that, but it's a nifty idea.

Re: WeScheme (web IDE)

#9
post #5

I haven't had a chance to look at this properly yet but maybe somebody can clarify a few things. This lets me do scheme->js in the browser using moby, which is implemented in racket. So my code gets converted to js on the server hosting this site. Does this mean I can (require ...) other racket libraries as well? Bookmarked for later.

OK, couldn't wait. require doesn't seem to work but that's as expected since they don't know what I might load.

moby documentation: http://planet.racket-lang.org/package-source/dyoo/moby.plt/3...

World: http://world.cs.brown.edu/1/htdw-v1.pdf

I'm playing now. Will post some code when I have it working.

Re: WeScheme (web IDE)

#10
post #8

How is this different than http://cloud9ide.com/ ? Cloud9 seems to be much more mature and feature rich as well.

this is for writing scheme and compiling to js for running client-side. Cloud9ide seems to be an ide for writing directly in js or php/ruby etc.
Post reply on HN