[racket] Try-Racket.org

From: Andrew Ulrich (andrewsotheraccount at gmail.com)
Date: Thu Oct 30 13:58:19 EDT 2014

I haven't tried it myself, but it looks like the main.rkt sets up a
webserver to handle requests, using define-values to route urls and runs
the code in a sandbox. So as to your question "where is the server?", it's
wherever you launch main.rkt.  As the instructions say, your url should
just be localhost:8080 if you launch it locally and you'll see it run. Like
I said, I haven't tried it myself yet, but to launch it you should just run
on the command line it like any other racket file:

racket main.rkt

The client side runs on jquery console, with an ajax call being made back
to the server when the console's commandHandle event is triggered.  Looks
straightforward enough.

To translate to another language, you would just translate the text of all
the html files you find in the project and you should be done.  Would be
nice to see a fork.

Good luck,
Andrew Ulrich

On Tue, Oct 28, 2014 at 9:21 AM, Chrakhan Barzanji <
chrakhan.barzanji at gmail.com> wrote:

> Hi,
> i'm trying to understand how Try-Recket Console "post"s a .ajax request to
> the server and
> where ist the server, url? could please some  one explain?
> there is also json-parse and 3 .rkt files,
> but I just don't get is how they will be called and executed!
> As i mentioned before I just want to use the same console like by
> TryRacket but in my own Website with none-english explaination! thank you..
> ____________________
>   Racket Users list:
>   http://lists.racket-lang.org/users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20141030/773ed94b/attachment.html>

Posted on the users mailing list.