Re: SnakeScript? (CoffeeScript for Python)

2012-02-06 Thread bruno.desthuilli...@gmail.com
On Feb 2, 9:23 pm, Michal Hantl wrote: > See the link I attached. > Ruby-like blocks would be nice too. > Implicit returns. > Better strings like """My name is #{name}""". Uhu... Looks like you want Ruby, not Python -- http://mail.python.org/mailman/listinfo/python-list

Re: SnakeScript? (CoffeeScript for Python)

2012-02-06 Thread alex23
On Feb 3, 8:42 pm, Matej Cepl wrote: > Ask anybody developing in CoffeeScript/Vala how much they love debugging > when they have to go through different styles of errors, bugs in the > intermediate processes, etc. I develop in CoffeeScript. I love debugging it because _it's just javascript_. CS

Re: SnakeScript? (CoffeeScript for Python)

2012-02-06 Thread Michal Hantl
See the link I attached. Ruby-like blocks would be nice too. Implicit returns. Better strings like """My name is #{name}""". -- http://mail.python.org/mailman/listinfo/python-list

Re: SnakeScript? (CoffeeScript for Python)

2012-02-03 Thread andrea crotti
2012/2/3 Dennis Lee Bieber : > On Thu, 2 Feb 2012 18:19:22 -0700, Ian Kelly >         > >        I spent nearly 20 years having to maintain the /output/ of such a > translator. > Yes I think that is the point, if the code you maintain and the code which you have to debug differ because there is a

Re: SnakeScript? (CoffeeScript for Python)

2012-02-03 Thread Nathan Rice
>> Mm I don't think it's what the OP is asking (unless I misunderstood...). >> I think he wants to compile some syntax TO Python. >> But I don't really see why you would something like this (if not for fun). > > Maybe because you think that Python syntax could be improved upon -- > for instance, Py

Re: SnakeScript? (CoffeeScript for Python)

2012-02-03 Thread Matej Cepl
On 3.2.2012 02:19, Ian Kelly wrote: Then how are you going to maintain the code? Maintain the compiled code or the source? As with all compiled software, you maintain the input, not the output. I don't think that's what was the question. CoffeeScript is a hopeless hack in the hopeless situat

Re: SnakeScript? (CoffeeScript for Python)

2012-02-02 Thread Chris Angelico
On Fri, Feb 3, 2012 at 9:53 AM, andrea crotti wrote: > Mm I don't think it's what the OP is asking (unless I misunderstood...). > I think he wants to compile some syntax TO Python. > But I don't really see why you would something like this (if not for fun). > > Then how are you going to maintain t

Re: SnakeScript? (CoffeeScript for Python)

2012-02-02 Thread Ian Kelly
On Thu, Feb 2, 2012 at 3:53 PM, andrea crotti wrote: > 2012/2/2 Amirouche Boubekki : >> They are solution to write Python code that translates to javascript see >> this thread >> http://mail.python.org/pipermail/python-list/2011-November/1283110.html >> > > Mm I don't think it's what the OP is ask

Re: SnakeScript? (CoffeeScript for Python)

2012-02-02 Thread andrea crotti
2012/2/2 Amirouche Boubekki : > They are solution to write Python code that translates to javascript see > this thread > http://mail.python.org/pipermail/python-list/2011-November/1283110.html > Mm I don't think it's what the OP is asking (unless I misunderstood...). I think he wants to compile so

Re: SnakeScript? (CoffeeScript for Python)

2012-02-02 Thread Amirouche Boubekki
They are solution to write Python code that translates to javascript see this thread http://mail.python.org/pipermail/python-list/2011-November/1283110.html 2012/2/2 Michal Hantl > Hello, > I've been looking for something similar to CoffeeScript, but for python. > > Does anyone know of such pro

Re: SnakeScript? (CoffeeScript for Python)

2012-02-02 Thread Devin Jeanpierre
On Thu, Feb 2, 2012 at 11:30 AM, Paul Moore wrote: > Isn't CoffeeScript just a compiler to convert a cleaner syntax into > Javascript? If so, why would you need such a thing for Python, where > the syntax is already clean and simple? :-) Coffeescript is a more functional syntax. On that note, Py

Re: SnakeScript? (CoffeeScript for Python)

2012-02-02 Thread Paul Moore
On Feb 2, 2:09 pm, Michal Hantl wrote: >  I've been looking for something similar to CoffeeScript, but for python. > > Does anyone know of such project? Isn't CoffeeScript just a compiler to convert a cleaner syntax into Javascript? If so, why would you need such a thing for Python, where the syn

SnakeScript? (CoffeeScript for Python)

2012-02-02 Thread Michal Hantl
Hello, I've been looking for something similar to CoffeeScript, but for python. Does anyone know of such project? So far I haven't found any attempt to do this, so I took few regular expressions and hacked this: https://plus.google.com/116702779841286800811/posts/56sBdwiZ4fT Any advice on wh