473,909 Members | 4,189 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

A 'Python like' language

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.
Jul 18 '05 #1
105 5238
On Fri, 26 Mar 2004 16:42:54 +0000, Peter Hickman
<pe***@semantic o.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

Jul 18 '05 #2

"David MacQuigg" <dm*@gain.com > wrote in message
news:p1******** *************** *********@4ax.c om...
On Fri, 26 Mar 2004 16:42:54 +0000, Peter Hickman
<pe***@semantic o.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
Jul 18 '05 #3
"John Roth" <ne********@jhr othjr.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?
Jul 18 '05 #4
Il Fri, 26 Mar 2004 13:53:45 -0500, Roy Smith ha scritto:
"John Roth" <ne********@jhr othjr.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?


Just the tab, python coding style says that 4 spaces is the standard for
indentation and you should try to avoid tab (unless for very old projects).
A single space is always a single space while a tab is often managed in obscure
ways...

Anyway GvR just posted on the python-dev saying this:

==
No, I want to reserve the leading dot for attribute assignment to a
special object specified by a 'with' statement, e.g.

with self:
.foo = [1, 2, 3]
.bar(4, .foo)
==

So another feature of this prothon (and a major one) is going to be a python one
too.

--
Valentino Volonghi aka Dialtone
Linux User #310274, Gentoo Proud User
X Python Newsreader developer
http://sourceforge.net/projects/xpn/

Jul 18 '05 #5

3 solutions:

1. Use spaces instead of tabs. Hit the space bar yourself, or an editor
that replaces tabs with spaces.
2. Include as a .py or text file instead of inline.
3. Get a different email program.

"John Roth" <ne********@jhr othjr.com> wrote in message
news:10******** ****@news.super news.com...

"David MacQuigg" <dm*@gain.com > wrote in message
news:p1******** *************** *********@4ax.c om...
On Fri, 26 Mar 2004 16:42:54 +0000, Peter Hickman
<pe***@semantic o.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 borrowedfrom 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

Jul 18 '05 #6
begin John Roth <ne********@jhr othjr.com> quote:
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.


Lumberjack with dull saw should not blame tree.

--
Karl A. Krueger <kk******@examp le.edu>
Woods Hole Oceanographic Institution
Email address is spamtrapped. s/example/whoi/
"Outlook not so good." -- Magic 8-Ball Software Reviews
Jul 18 '05 #7
DH
> Anyway GvR just posted on the python-dev saying this:

==
No, I want to reserve the leading dot for attribute assignment to a
special object specified by a 'with' statement, e.g.

with self:
.foo = [1, 2, 3]
.bar(4, .foo)
brilliant!
this is in VB so neither of us can claim to have invented it. :-)
oh wait, this sucks :)
(And "with" was in Pascal 30+ years ago, without the leading dot.)


lemme ask my grandfather for his opinion
Jul 18 '05 #8

"D Martin" <dg************ *****@hotmail.c om> wrote in message
news:ax%8c.9470 $wg1.4018@edtnp s84...

3 solutions:

1. Use spaces instead of tabs. Hit the space bar yourself, or an editor
that replaces tabs with spaces.
2. Include as a .py or text file instead of inline.
3. Get a different email program.
All of these fail for one simple reason. Let's hit
the chorus, guys:

"We're right, everybody else needs to change..."

The hard fact is, lots of utility programs treat
tabs in wild and wonderful ways, many of which
are not under the control of the user. There's
a reason why the Python standard is spaces, and
why tabs will be eliminated as an option in 3.0.

John Roth
"John Roth" <ne********@jhr othjr.com> wrote in message
news:10******** ****@news.super news.com...

"David MacQuigg" <dm*@gain.com > wrote in message
news:p1******** *************** *********@4ax.c om...
On Fri, 26 Mar 2004 16:42:54 +0000, Peter Hickman
<pe***@semantic o.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


Jul 18 '05 #9
On Fri, 26 Mar 2004 16:42:54 +0000, Peter Hickman
<pe***@semantic o.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.


What I found most interesting about this language is that it *doesn't
use classes* !! All objects are derived directly from other objects,
some of which are "prototypes ", that is, objects which were designed
to be just templates to produce other objects.

I downloaded the interpreter, and it installed flawlessly on my XP
machine! I ran through the examples from their webpage, and they
worked as shown! As I am generating objects from prototypes, I am
thinking - How can this be so simple? Surely we must need classes for
something. What about static methods? Is all of this just cruft in
Python?

The torture never stops. :>)

-- Dave

Jul 18 '05 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

220
19296
by: Brandon J. Van Every | last post by:
What's better about Ruby than Python? I'm sure there's something. What is it? This is not a troll. I'm language shopping and I want people's answers. I don't know beans about Ruby or have any preconceived ideas about it. I have noticed, however, that every programmer I talk to who's aware of Python is also talking about Ruby. So it seems that Ruby has the potential to compete with and displace Python. I'm curious on what basis it...
699
34483
by: mike420 | last post by:
I think everyone who used Python will agree that its syntax is the best thing going for it. It is very readable and easy for everyone to learn. But, Python does not a have very good macro capabilities, unfortunately. I'd like to know if it may be possible to add a powerful macro system to Python, while keeping its amazing syntax, and if it could be possible to add Pythonistic syntax to Lisp or Scheme, while keeping all of the...
19
4134
by: KefX | last post by:
I've been following the group a bit (somewhat loosely; discussions involving other languages or advanced concepts kind of lose me), and I see all this negativity (OMG Python's lambda is borken roflol, use teh othar langauge). I as a relative newcomer to Python pay little heed to the criticism, though. A few things in Python are counterintuitive, yes, but what language doesn't have such things? And I feel that one can master the syntax of...
226
12813
by: Stephen C. Waterbury | last post by:
This seems like it ought to work, according to the description of reduce(), but it doesn't. Is this a bug, or am I missing something? Python 2.3.2 (#1, Oct 20 2003, 01:04:35) on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> d1 = {'a':1} >>> d2 = {'b':2} >>> d3 = {'c':3}
49
2906
by: Ville Vainio | last post by:
I don't know if you have seen this before, but here goes: http://text.userlinux.com/white_paper.html There is a jab at Python, though, mentioning that Ruby is more "refined". -- Ville Vainio http://www.students.tut.fi/~vainio24
68
5920
by: Lad | last post by:
Is anyone capable of providing Python advantages over PHP if there are any? Cheers, L.
8
3049
by: Paul Cochrane | last post by:
Hi all, I've got an application that I'm writing that autogenerates python code which I then execute with exec(). I know that this is not the best way to run things, and I'm not 100% sure as to what I really should do. I've had a look through Programming Python and the Python Cookbook, which have given me ideas, but nothing has gelled yet, so I thought I'd put the question to the community. But first, let me be a little more detailed...
206
8450
by: WaterWalk | last post by:
I've just read an article "Building Robust System" by Gerald Jay Sussman. The article is here: http://swiss.csail.mit.edu/classes/symbolic/spring07/readings/robust-systems.pdf In it there is a footprint which says: "Indeed, one often hears arguments against building exibility into an engineered sys- tem. For example, in the philosophy of the computer language Python it is claimed: \There should be one|and preferably only one|obvious...
53
5291
by: Vicent Giner | last post by:
Hello. I am new to Python. It seems a very interesting language to me. Its simplicity is very attractive. However, it is usually said that Python is not a compiled but interpreted programming language —I mean, it is not like C, in that sense. I am working on my PhD Thesis, which is about Operations Research,
0
10035
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10919
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
10538
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9725
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
7248
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5938
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
6138
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4774
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
4336
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.