Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #43789
| Path | csiph.com!usenet.pasdenom.info!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed4.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <ian.g.kelly@gmail.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.003 |
| X-Spam-Evidence | '*H*': 0.99; '*S*': 0.00; '(at': 0.04; 'languages,': 0.04; 'root': 0.05; 'expressions': 0.07; 'spaces': 0.09; 'strings.': 0.09; 'yeah,': 0.09; 'python': 0.11; 'language,': 0.12; 'itself.': 0.14; '"an': 0.16; '("an': 0.16; '(there': 0.16; 'alphabet': 0.16; 'finite': 0.16; 'finite,': 0.16; 'infinite;': 0.16; 'janssen': 0.16; 'lambda': 0.16; 'language)': 0.16; 'notation': 0.16; 'relevant.': 0.16; 'silly': 0.16; 'sins': 0.16; 'symbols': 0.16; 'so.': 0.16; 'language': 0.16; 'wrote:': 0.18; '(not': 0.18; 'discussion': 0.18; 'wed,': 0.18; 'written': 0.21; 'programming': 0.22; 'saying': 0.22; 'separate': 0.22; 'mathematical': 0.24; 'define': 0.26; 'equivalent': 0.26; 'least': 0.26; 'defined': 0.27; 'header:In-Reply-To:1': 0.27; 'message- id:@mail.gmail.com': 0.30; "i'm": 0.30; 'getting': 0.31; 'complete,': 0.31; 'languages': 0.32; 'regular': 0.32; '(e.g.': 0.33; '(i.e.': 0.33; 'entirely': 0.33; 'implemented': 0.33; 'actual': 0.34; '"the': 0.34; 'could': 0.34; "can't": 0.35; 'received:209.85': 0.35; 'connection': 0.35; 'received:209.85.220': 0.35; 'case,': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'there': 0.35; 'reality': 0.36; 'two': 0.37; 'received:209': 0.37; 'clear': 0.37; 'being': 0.38; 'architecture': 0.38; 'ends': 0.38; 'to:addr:python-list': 0.38; 'fact': 0.38; 'pm,': 0.38; 'anything': 0.39; 'sure': 0.39; 'to:addr:python.org': 0.39; 'enough': 0.39; 'either': 0.39; 'most': 0.60; 'hope': 0.61; 'hardware': 0.61; 'course': 0.61; "you're": 0.61; "you've": 0.63; 'real': 0.63; 'such': 0.63; 'field': 0.63; 'skip:n 10': 0.64; 'talking': 0.65; 'within': 0.65; 'between': 0.67; 'design.': 0.68; 'further,': 0.74; 'different.': 0.84; 'grave': 0.84; 'irrelevant': 0.84; 'recursive.': 0.84; '2013': 0.98 |
| DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:mime-version:in-reply-to:references:from:date:message-id :subject:to:content-type; bh=fAo1QDI3XsmF57ZMB+s6sVtrLRtgFrv3BU4IqeU4dsg=; b=QKGi8utN/HbuCqiwg5/PHKB9oUiTWMnwQXdmcBWA51FOamw82TJcYSBtsKyV1Z4hu/ LPP4f7PemSaNVD1a2/g8QLderUbWW+D48zWoZXFosMLacIcA1ALvSMohepq6hQM0wwHT vCtCvruudcvDci49flkmD144aYHZIDfADdzB+aCx6EUYKqHICT510Uy2qqnhLgGAmaH5 fPqX73U8FLRvQbiuAVjPBTrEnu96yOA2W0MV3x1NUwkrmY4jHeMO1O5WFKjgoWuZdvIC zCmOlILMryiPJgFzir+HsS0SNz6FM+viioushXXt48eabUzTh2BMc5x5l98kOg0fg9Y3 NvEw== |
| X-Received | by 10.68.135.133 with SMTP id ps5mr11251546pbb.158.1366245229760; Wed, 17 Apr 2013 17:33:49 -0700 (PDT) |
| MIME-Version | 1.0 |
| In-Reply-To | <CAMjeLr9Z9f1y1NyLs44UqGYrnEEpABxouB4pr=xaaOdB-+HfLA@mail.gmail.com> |
| References | <66e78281-542b-41b3-a56d-04bf736d1e0a@googlegroups.com> <14a9ca59-218d-4dec-9e03-b7ac6b92d378@af5g2000pbd.googlegroups.com> <CAMjeLr9Z9f1y1NyLs44UqGYrnEEpABxouB4pr=xaaOdB-+HfLA@mail.gmail.com> |
| From | Ian Kelly <ian.g.kelly@gmail.com> |
| Date | Wed, 17 Apr 2013 18:33:09 -0600 |
| Subject | Re: Atoms, Identifiers, and Primaries |
| To | Python <python-list@python.org> |
| Content-Type | text/plain; charset=ISO-8859-1 |
| 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.741.1366245233.3114.python-list@python.org> (permalink) |
| Lines | 57 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1366245233 news.xs4all.nl 2178 [2001:888:2000:d::a6]:36389 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:43789 |
Show key headers only | View raw
On Wed, Apr 17, 2013 at 5:40 PM, Mark Janssen <dreamingforward@gmail.com> wrote:
> Rercursion the "bedrock" of language-design. I don't think so. From
> what I know, a well-defined language ends at its symbols. It makes no
> use of "infinities".
>From what I know, you can't have a Turing-complete language without
some form of recursion. So yeah, it's pretty damn important in
language design.
>> You cannot hope to define an infinite object such as the python
>> language (there are an infinite number of python programs) with a
>> finite specification
>
> You've committed two grave sins in C.S.:
You've just committed the grave sin of being needlessly hyperbolic.
> Conflating a programming
> language ("an infinite object such as python language") with a program
> written in that language ("there are an infinite number of python
> programs"). These two are entirely separate (at least anything
> implemented on a real computer).
Mathematically, a language (e.g. a programming language) is a set of
well-formed strings (i.e. programs) constructed from the symbols of an
alphabet (i.e. tokens). For most languages, this set is infinite;
saying "the Python language is infinite" is equivalent to saying
"there are an infinite number of Python programs".
> Further, you've made a silly
> description of python "an infinite object such as the python
> language". A programming language that is well defined has complete,
> finite, specification. The fact that there are an endless number of
> programs that can be made from such is irrelevant to the language
> itself.
A finite, non-recursive grammar can only hope to accept a finite
number of strings. To have an infinite language, the defining grammar
must then be either infinite (not practical) or recursive.
> Well now you're getting to the root of the confusion and what I'm
> arguing within the C.S. community: there must be clear distinction
> between lambda calculii and programming languages rooted in actual
> hardware implementations. While, traditionally, the field has not
> made much of a distinction, in practice the computational architecture
> is different. One of these has a connection to reality and the other
> not as much ;^).
> In any case, talking about the mathematical realm *as a realm of
> Platonic thought* is irrelevant to the discussion of program spaces
> where *things actually get done*.
Of course it's relevant. Without theory we would not have big-Oh
notation or efficient data structures or regular expressions or
context-free grammars; languages like Python would be harder to
invent. I'm sure one could come up with a myriad other examples, but
that's enough for me.
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Atoms, Identifiers, and Primaries Bruce McGoveran <bruce.mcgoveran@gmail.com> - 2013-04-16 19:57 -0700
Re: Atoms, Identifiers, and Primaries rusi <rustompmody@gmail.com> - 2013-04-16 20:55 -0700
Re: Atoms, Identifiers, and Primaries Mark Janssen <dreamingforward@gmail.com> - 2013-04-17 16:40 -0700
Re: Atoms, Identifiers, and Primaries alex23 <wuwei23@gmail.com> - 2013-04-17 17:29 -0700
Re: Atoms, Identifiers, and Primaries Mark Janssen <dreamingforward@gmail.com> - 2013-04-17 17:41 -0700
Re: Atoms, Identifiers, and Primaries Mark Lawrence <breamoreboy@yahoo.co.uk> - 2013-04-18 02:04 +0100
Re: Atoms, Identifiers, and Primaries rusi <rustompmody@gmail.com> - 2013-04-18 00:40 -0700
Re: Atoms, Identifiers, and Primaries Ian Kelly <ian.g.kelly@gmail.com> - 2013-04-17 18:33 -0600
Re: Atoms, Identifiers, and Primaries Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-04-18 02:14 +0000
Re: Atoms, Identifiers, and Primaries Ian Kelly <ian.g.kelly@gmail.com> - 2013-04-17 21:12 -0600
Re: Atoms, Identifiers, and Primaries Mark Janssen <dreamingforward@gmail.com> - 2013-04-17 18:04 -0700
Re: Atoms, Identifiers, and Primaries Mark Lawrence <breamoreboy@yahoo.co.uk> - 2013-04-18 02:08 +0100
Re: Atoms, Identifiers, and Primaries Chris Angelico <rosuav@gmail.com> - 2013-04-18 11:56 +1000
Re: Atoms, Identifiers, and Primaries Ian Kelly <ian.g.kelly@gmail.com> - 2013-04-17 21:10 -0600
Re: Atoms, Identifiers, and Primaries Ian Kelly <ian.g.kelly@gmail.com> - 2013-04-17 01:21 -0600
Re: Atoms, Identifiers, and Primaries 88888 Dihedral <dihedral88888@googlemail.com> - 2013-04-17 21:29 -0700
Re: Atoms, Identifiers, and Primaries 88888 Dihedral <dihedral88888@googlemail.com> - 2013-04-17 21:29 -0700
Re: Atoms, Identifiers, and Primaries Dave Angel <davea@davea.name> - 2013-04-17 07:07 -0400
Re: Atoms, Identifiers, and Primaries Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-04-17 11:43 +0000
Re: Atoms, Identifiers, and Primaries Bruce McGoveran <bruce.mcgoveran@gmail.com> - 2013-04-17 10:15 -0700
Re: Atoms, Identifiers, and Primaries Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-04-18 04:43 +1000
Re: Atoms, Identifiers, and Primaries rusi <rustompmody@gmail.com> - 2013-04-18 10:04 -0700
csiph-web