Live data from Hacker News

WeScheme (web IDE)

wescheme.org

11–20 of 27 posts

Re: WeScheme (web IDE)

#12
Regarding comments about Web IDEs replacing Emacs, I don't see how this could happen with current editing capabilities of those IDEs. While they might be better at storing your sources safely, their editing capabilities just suck compared to Emacs or Vim. Working with code isn't only about entering text.

Re: WeScheme (web IDE)

#14
To gain any sort of traction, I suggest allowing more choices than code, log-in, or watch a video.

For someone who doesn't necessarily want to code scheme right away, log-in with their account, or put headphones in to watch a video - you've lost them immediately. Never to come back.

The option that is missing - let me read about it.

Re: WeScheme (web IDE)

#15

Very cool. I tried to run the form example in the API documentation, and it complains that js-bidirectional-input is undefined. Am I doing something wrong?

It's not you, I get the same error.

Re: WeScheme (web IDE)

#16
post #15

Very cool. I tried to run the form example in the API documentation, and it complains that js-bidirectional-input is undefined. Am I doing something wrong?

It's not you, I get the same error.

Apologies; some of the documentation is outdated.

I'm in the middle of a revamping of the runtime and its libraries, which will hopefully be released in a few weeks.

Re: WeScheme (web IDE)

#17

Very cool. I tried to run the form example in the API documentation, and it complains that js-bidirectional-input is undefined. Am I doing something wrong?

My apologies! I had to rip out js-bidirectional-input out, and didn't update the documentation to reflect that. The documentation linked from the "API" link there is unfortunately stale, and I haven't had the time to update it. (Most of my time right now is dedicated to a new version of the evaluator, discussed at the bottom of this post.)

The Wescheme environment is meant to pair with the curriculum of the Bootstrap project (http://www.bootstrapworld.org/)

Here are some examples that highlight the features in WeScheme. Each includes both a runner and a live editor link to the source code.

A simple game:

    http://www.wescheme.org/view?publicId=messy-humor-truck-adopt-outdo

A sierpenski triangle program:

    http://www.wescheme.org/view?publicId=pasty-brawl-frank-vomit-would

A more substantial demo of the image libraries:

    http://www.wescheme.org/view?publicId=haste-foggy-grief-hatch-gloom

A simple 1-tick-per-section counter that resets when you press the button:

    http://www.wescheme.org/view?publicId=queer-decay-slush-speck-stage


I'm in the middle of a rewrite of the underlying evaluator and libraries during this summer (http://hashcollision.org/whalesong), and hope to deliver in the next few weeks so that people can play with it.

Re: WeScheme (web IDE)

#18
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.

require is currently not working in WeScheme. We'll revisit the design of this in a few weeks. In the context of WeScheme, it would be very cool to be able to treat other people's programs as libraries and be able to require them.
Post reply on HN