Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
SnakeScript? (CoffeeScript for Python)
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  6 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Michal Hantl  
View profile  
 More options Jan 29 2012, 6:42 am
From: Michal Hantl <michal.ha...@gmail.com>
Date: Sun, 29 Jan 2012 03:42:57 -0800 (PST)
Local: Sun, Jan 29 2012 6:42 am
Subject: SnakeScript? (CoffeeScript for Python)

Hey guys,
 Is or was there an attempt to do the same that CoffeeScript does for JS
for Python?


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Mark Hahn  
View profile  
 More options Jan 29 2012, 3:12 pm
From: Mark Hahn <m...@hahnca.com>
Date: Sun, 29 Jan 2012 12:12:19 -0800
Local: Sun, Jan 29 2012 3:12 pm
Subject: Re: [coffeescript] SnakeScript? (CoffeeScript for Python)

Doesn't python already offer most coffeescript features?

On Sun, Jan 29, 2012 at 3:42 AM, Michal Hantl <michal.ha...@gmail.com>wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Benjamin Gudehus  
View profile  
 More options Jan 29 2012, 3:25 pm
From: Benjamin Gudehus <hasteb...@googlemail.com>
Date: Sun, 29 Jan 2012 21:25:03 +0100
Local: Sun, Jan 29 2012 3:25 pm
Subject: Re: [coffeescript] SnakeScript? (CoffeeScript for Python)

Not bad! It would be nice to have an easier syntax to define closures.
Or some ruby-like expressions.

I personally prefer simple old python syntax, but it could be a nice
experiment to adapt some syntax sugar seen in CoffeeScript.

2012/1/29 Mark Hahn <m...@hahnca.com>


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Mark Hahn  
View profile  
 More options Jan 29 2012, 3:27 pm
From: Mark Hahn <m...@hahnca.com>
Date: Sun, 29 Jan 2012 12:27:42 -0800
Local: Sun, Jan 29 2012 3:27 pm
Subject: Re: [coffeescript] SnakeScript? (CoffeeScript for Python)

Python adds sugar all the time.  I'd ask for it in Python first.

On Sun, Jan 29, 2012 at 12:25 PM, Benjamin Gudehus <hasteb...@googlemail.com


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Steve Howell  
View profile  
 More options Jan 29 2012, 3:48 pm
From: Steve Howell <showel...@yahoo.com>
Date: Sun, 29 Jan 2012 12:48:14 -0800 (PST)
Local: Sun, Jan 29 2012 3:48 pm
Subject: Re: [coffeescript] SnakeScript? (CoffeeScript for Python)

I'd be shocked if some of the CS niceties ever got added to Python.  I am a big fan of Python, but certain types of sugar just don't fit into its philosophy.  People have asked for better ways to write anonymous functions in Python for as long as I can remember.  I also doubt that optional parentheses in function calls would ever fly.

Despite liking some CS features that aren't in Python, I couldn't imagine ever using a transcompiler for Python.  Python doesn't have any major semantic gaps, and it has all the major syntax sugar that I want, such as indentation-based blocking, multi-line strings, etc.

To each his own, though.  Python has a pretty long history--in general, if somebody's thought of it, I'm guessing somebody's done it.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Michal Hantl  
View profile  
 More options Jan 30 2012, 6:33 pm
From: Michal Hantl <michal.ha...@gmail.com>
Date: Mon, 30 Jan 2012 15:33:37 -0800 (PST)
Local: Mon, Jan 30 2012 6:33 pm
Subject: Re: [coffeescript] SnakeScript? (CoffeeScript for Python)

Thank you all for replying.

I just hacked together a demo. This is what I would e happy for start, just
replacing self with @ and some cosmetic changes here and there.

I would love to have implicit return statements and blocks. For that I
would need to actually parse and understand the code, so thats what I'll
focus on next. So far this is as hacky as I can make it.

So far I am having fun with it. Would love to go self-brain surgery on this
and implement SnakeScript in SnakeScript :D

  Sn�mek obrazovky (2012-01-31 00:23:19).png
75K Download

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »