一种'Python like'语言 [英] A 'Python like' language

查看:101
本文介绍了一种'Python like'语言的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在所有这些讨论之后,似乎出现了''Python like''

语言= => Prothon。 http://www.prothon.org/index.html


非常alpha,有点像Python(如果你认为缩进是什么

使Python独一无二)和Ruby使用前缀来定义

范围等(虽然没有提到这个特性被借用
来自Ruby的
)。它还引用了Self作为一种影响。

解决方案

2004年3月26日星期五16:42:54 +0000,Peter Hickman

< pe *** @ semantico.com>写道:

在所有这些讨论之后,看起来似乎已经出现了''Python like''
语言=> Prothon。 http://www.prothon.org/index.html

很像alpha,有点像Python(如果你认为缩进是什么使得Python独一无二)和Ruby在使用前缀来定义
范围等等(尽管没有从Ruby借来的这个特性的参考。它还引用了Self作为一种影响力。




非常有趣...


引自Prothon的主页:

'''''

随着时间的推移,核心Python语言已经添加了功能,

....并且Python已经装满了功能,有些非常复杂。

''''


所以他们需要的是从Python到Prothon的自动翻译,

然后他们可以抓住所有Python的库,并绕过十年的b
开发。 :>)


我们真的需要在Python中明确区分高级功能和基本语法

。基本部分不再有lambda演算。 :>)


- Dave




" David MacQuigg" ; < dm*@gain.com>在消息中写道

news:p1 ******************************** @ 4ax.com ...

2004年3月26日星期五16:42:54 +0000,Peter Hickman
< pe *** @ semantico.com>写道:

在所有这些讨论之后,看起来似乎已经出现了''Python like''
语言=> Prothon。 http://www.prothon.org/index.html

很像alpha,有点像Python(如果你认为缩进是什么使得Python独一无二)和Ruby在使用前缀来定义
范围等等(尽管没有从Ruby借来的这个特性的参考。它还引用Self作为一种影响。



非常有趣...




是的,特别是因为他们没有''学习关于

制表符作为缩进字符的课程。这意味着我不能使用Outlook发送

a Prothon程序(或一个代码片段)

Express,它会自动从前面删除选项卡

行,从而破坏了缩进。


一种有趣的语言刚刚从我的雷达屏幕中掉落,因为我的环境无法使用。


John Roth


" John Roth" <是ne ******** @ jhrothjr.com>写道:

是的,特别是因为他们没有学习关于
标签作为缩进字符的课程。这意味着我不能使用Outlook
Express发送一个Prothon程序(或一个代码片段),它会自动从
行的前面剥去标签,从而破坏缩进。 / blockquote>


您是否反对使用制表符来进行

缩进,或者在
一般吗?


Well after all this discussion it would appear that a ''Python like''
language has appeared => Prothon. http://www.prothon.org/index.html

Very alpha, sort of like Python (if you consider the indenting is what
makes Python unique) and sort of Ruby in its use of prefixes to define
scoping etc (although there is no reference to this trait being borrowed
from Ruby). It also quotes Self as being an influence.

解决方案

On Fri, 26 Mar 2004 16:42:54 +0000, Peter Hickman
<pe***@semantico.com> wrote:

Well after all this discussion it would appear that a ''Python like''
language has appeared => Prothon. http://www.prothon.org/index.html

Very alpha, sort of like Python (if you consider the indenting is what
makes Python unique) and sort of Ruby in its use of prefixes to define
scoping etc (although there is no reference to this trait being borrowed
from Ruby). It also quotes Self as being an influence.



Very interesting ...

Quoting from Prothon''s home page:
''''''
Over time capabilities have been added to the core Python language,
.... and Python has became loaded with features, some quite complex.
''''''

So all they need is an automatic translation from Python to Prothon,
then they can grab all of Python''s libraries, and bypass ten years of
development. :>)

We really need in Python a clear separation of advanced features from
the basic syntax. No more lambda calculus in the basic part. :>)

-- Dave



"David MacQuigg" <dm*@gain.com> wrote in message
news:p1********************************@4ax.com...

On Fri, 26 Mar 2004 16:42:54 +0000, Peter Hickman
<pe***@semantico.com> wrote:

Well after all this discussion it would appear that a ''Python like''
language has appeared => Prothon. http://www.prothon.org/index.html

Very alpha, sort of like Python (if you consider the indenting is what
makes Python unique) and sort of Ruby in its use of prefixes to define
scoping etc (although there is no reference to this trait being borrowed
from Ruby). It also quotes Self as being an influence.



Very interesting ...



Yes, especially since they didn''t learn their lessons about
tab as an indentation character. That means that I can''t send
a Prothon program (or snippet from one) using Outlook
Express, which automaticlly strips tabs from the front of
lines, thus destroying the indentation.

An interesting language that has just dropped off of
my radar screen as being unusable in my environment.

John Roth


"John Roth" <ne********@jhrothjr.com> wrote:

Yes, especially since they didn''t learn their lessons about
tab as an indentation character. That means that I can''t send
a Prothon program (or snippet from one) using Outlook
Express, which automaticlly strips tabs from the front of
lines, thus destroying the indentation.



Are you objecting specifically to the use of the tab character for
indenting, or to the use of white space for statement grouping in
general?


这篇关于一种'Python like'语言的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆