Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #38546

Re: Is Python programming language?

Path csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!ecngs!feeder2.ecngs.de!newsfeed.freenet.ag!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <torriem@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.004
X-Spam-Evidence '*H*': 0.99; '*S*': 0.00; 'subject:Python': 0.05; 'url:blog': 0.09; 'subject:language': 0.09; 'terry': 0.09; 'language': 0.14; 'arrays,': 0.16; 'awk': 0.16; 'conditional': 0.16; 'from:addr:torriem': 0.16; 'from:name:michael torrie': 0.16; 'looping': 0.16; 'loops': 0.16; 'non-trivial': 0.16; 'operation,': 0.16; 'presume': 0.16; 'reedy': 0.16; 'sed': 0.16; 'subject:programming': 0.16; 'wrote:': 0.17; 'explicit': 0.22; 'implicit': 0.22; 'machine': 0.24; 'header:In-Reply-To:1': 0.25; 'header:User-Agent:1': 0.26; 'implement': 0.32; 'to:addr:python- list': 0.33; 'pm,': 0.35; 'subject:?': 0.35; 'something': 0.35; 'received:org': 0.36; 'message-id:@gmail.com': 0.36; 'subject:: ': 0.38; 'sure': 0.38; 'to:addr:python.org': 0.39; 'received:192': 0.39; 'where': 0.40; 'received:192.168': 0.40; 'header:Received:5': 0.40; 'life,': 0.62; 'show': 0.63; 'covers': 0.65; 'harder': 0.65; 'recursion,': 0.84; 'execution,': 0.91
X-Virus-Scanned amavisd-new at torriefamily.org
Date Sat, 09 Feb 2013 19:55:53 -0700
From Michael Torrie <torriem@gmail.com>
User-Agent Mozilla/5.0 (X11; Linux i686; rv:10.0.12) Gecko/20130105 Thunderbird/10.0.12
MIME-Version 1.0
To python-list@python.org
Subject Re: Is Python programming language?
References <1360328631.24677.YahooMailClassic@web125203.mail.ne1.yahoo.com> <mailman.1500.1360329332.2939.python-list@python.org> <kf3edb$1ar$1@reader1.panix.com> <6lmdh8t7osnvjj5v5vnrav8q5anum6ln3q@4ax.com> <5116E168.6030707@gmail.com> <kf71b2$5ho$1@ger.gmane.org>
In-Reply-To <kf71b2$5ho$1@ger.gmane.org>
Content-Type text/plain; charset=ISO-8859-1
Content-Transfer-Encoding 7bit
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.1567.1360464961.2939.python-list@python.org> (permalink)
Lines 10
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1360464961 news.xs4all.nl 6906 [2001:888:2000:d::a6]:59126
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:38546

Show key headers only | View raw


On 02/09/2013 07:40 PM, Terry Reedy wrote:
> If the language has arrays, conditional execution, and explicit (while) 
> loops or recursion, you can be pretty sure it is Turing complete. I 
> presume this covers awk and bash. Something like the game of Life, where 
> the looping in implicit in the operation, is much harder to show Turing 
> complete. I suspect sed is non-trivial also.

All you have to do to show a language is turing complete is to implement
a turing machine in it.  Here's one in sed that I found:
http://www.catonmat.net/blog/proof-that-sed-is-turing-complete/

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Re: Is Python programming language? Stephane Wirtel <stephane@wirtel.be> - 2013-02-08 14:15 +0100
  Re: Is Python programming language? Grant Edwards <invalid@invalid.invalid> - 2013-02-08 17:59 +0000
    Re: Is Python programming language? Tim Roberts <timr@probo.com> - 2013-02-09 15:26 -0800
      Re: Is Python programming language? Michael Torrie <torriem@gmail.com> - 2013-02-09 16:53 -0700
      Re: Is Python programming language? Terry Reedy <tjreedy@udel.edu> - 2013-02-09 21:40 -0500
      Re: Is Python programming language? Terry Reedy <tjreedy@udel.edu> - 2013-02-09 21:47 -0500
      Re: Is Python programming language? Michael Torrie <torriem@gmail.com> - 2013-02-09 19:55 -0700
      Re: Is Python programming language? Dan Stromberg <drsalists@gmail.com> - 2013-02-11 15:46 -0800

csiph-web