Try ATS in your browser

I have combined Patsopt and Atscc2js.

Now it is all the way from ATS source to C code to JS code to
the evaluation of the JS code:

http://ats-lang.github.io/EXPERIMENT/patsopt-atscc2js-trial/index.html

You probably need Firefox to test it as the stack of a WebWorker in
Chrome is often too small for running patsopt.

Thanks to the Emscripten team!

And special thanks to Will Blair for getting me started on this and for
piloting
the work!

As I see this, it is really a small miracle that the whole thing actually
works :slight_smile:

Cheers!

The default setting should just work. The current design is mainly for the
purpose of testing. I will try to write more about it later. I consider
using it
to make “live” lecture notes, where people could try coding on-line.

BTW, I just tried it on a cheap LG phone running Chrome. It actually worked
:slight_smile:
It took a long while (like 20 seconds). When it works, you should see some
primes
numbers printed out.On Fri, Nov 6, 2015 at 11:26 AM, Raoul Duke rao...@gmail.com wrote:

hi, very cool!

I tried in FF 41.0.2 on linux Ubuntu 14.04 x86/32bit, and it did not
appear to me to work? And/or I really do not understand the user
interface. I think it is probably something that could be tweaked to
be more self-evident / “intuitive”. If you can do some simple hallway
usability studies, that might be good. :slight_smile:
hallway usability at DuckDuckGo


You received this message because you are subscribed to the Google Groups
“ats-lang-users” group.
To unsubscribe from this group and stop receiving emails from it, send an
email to ats-lang-user...@googlegroups.com.
To post to this group, send email to ats-lan...@googlegroups.com.
Visit this group at http://groups.google.com/group/ats-lang-users.
To view this discussion on the web visit
https://groups.google.com/d/msgid/ats-lang-users/CAJ7XQb5VdgyaAYLExTLdekvRcPJPH5sB_1T8H9DBfEz6DwRxSQ%40mail.gmail.com
.

hi, very cool!

I tried in FF 41.0.2 on linux Ubuntu 14.04 x86/32bit, and it did not
appear to me to work? And/or I really do not understand the user
interface. I think it is probably something that could be tweaked to
be more self-evident / “intuitive”. If you can do some simple hallway
usability studies, that might be good. :slight_smile:
https://duckduckgo.com/?q=hallway+usability

I added a little explanation about the GUI for this server-less
service of try-ats-in-your-browser:

http://ats-lang.github.io/EXPERIMENT/patsopt-atscc2js-trial/index.html

I also tried it on Safari successfully.On Friday, November 6, 2015 at 11:26:15 AM UTC-5, Raoul Duke wrote:

hi, very cool!

I tried in FF 41.0.2 on linux Ubuntu 14.04 x86/32bit, and it did not
appear to me to work? And/or I really do not understand the user
interface. I think it is probably something that could be tweaked to
be more self-evident / “intuitive”. If you can do some simple hallway
usability studies, that might be good. :slight_smile:
hallway usability at DuckDuckGo