Try Arc
tryarc.org
tryarc.org
The biggest problem the language has is lack of marketing (something I think we in the Arc community should take PG to task for).
Those claims were not bogus at the time. When arc was released Paul Graham explicitly stated that unicode support was not there and was low on the priority list.
(def 什么 () 1)
(什么) => 1
worked. Python, for example, can't even do that. As is often the case, the people complaining didn't even bother to try it out to see what they were actually complaining about.There were a few tiny places that needed improving (I know, because I wrote most of the utf8 improvements in Anarki), and they almost all revolved around parsing / producing web-related utf8 stuff.
Python 3.1.1 (r311:74543, Aug 24 2009, 18:44:04)
[GCC 4.0.1 (Apple Inc. build 5493)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> def 什么():
... return 1
...
>>> 什么()
1What is the concurency story (does it have one)? Does arc have full tail call optimisation?
Yes. Arc's reference implementation inherits TCO from Racket.
For example, if I type cmd-w (on a Mac) it types 'w' instead of closing the tab as I would expect.
I've written a lot of keyboard shortcut junk for web apps so I've had to do this before as well. :)
I was actually using Try Arc the other day to see how it compares to other lisps that I'm familiar with. I like it!
Paul's insistence on brief symbol names, and heavily simplified Lisp syntax didn't make a lot of sense 8 years ago. But today, it's just what the doctor ordered for mobile.
Should be a good language to script Android.
Unknown or expired link.
Does this mean the site is down?
If you got it when you first arrived or in some other context, you're bug reporting. Tell me more!
In either case, if you (wait a few minutes and) reload the page, it will probably work. Thanks for your patience.
I'd like to find a more graceful way of handling this. Any suggestions?
http://github.com/johang88/haskellinjavascript
;)
This is convoluted and fragile, but if I wanted to roll out "sandboxes" on limited hardware I'd start with something like this.
Here's an approach that's a variation/refinement of my current one: Instead of just orphaning old clients when their sandboxes get GC'd, leave them with a local copy of their REPL history. If they try to use the REPL again after a long period of silence, a new sandbox will be allocated for them (as it would be for a fresh client), and all the commands in their REPL history loaded in to bring it back to its previous state.
This approach could potentially pave the way for users having persistent REPLs, even across page reloads.