APL-like python for fun

2013-06-06 Thread Dov Grobgeld
I remember we discussed compactifying perl on this list a long time ago, and this time I decided to have some fun with emacs overlays with python. The resulting mode is attached below. With this mode, when typing the following: f = lambda x: x**2 for i in range(5): print f(i) v =

Re: APL-like python for fun

2013-06-06 Thread Oleg Goldshmidt
Is this a good idea? Probably absolutely not, but it is quite fun. :-) Besides being cool clean fun, I wonder - only semi-jokingly - if it may be useful to streamline the interface between algorithmists and developers. In many organizations scientists are supposed to produce algorithms in the

Re: APL-like python for fun

2013-06-06 Thread Dov Grobgeld
Though the idea of bridging is nice, I doubt that it is as simple as just a question of providing syntactic sugar for the scientist. Any scientist worth calling himself such, can deal with a spelled out lambda as well as with λ. I think the problem is rather that some mathematicians don't care for