Path: csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail From: Grant Edwards Newsgroups: comp.lang.python Subject: Re: Why not allow empty code blocks? Date: Tue, 2 Aug 2016 19:38:35 +0000 (UTC) Lines: 42 Message-ID: References: <579B1ABB.1070500@rece.vub.ac.be> <20160731115347.3c2a8344@imp> <20160731120434.3f587ad9@imp> <9a08c631-ce14-dc04-f038-ab31bd3ec350@gmail.com> <28fa2205-5d30-4d00-9ab9-b56c66274dd5@googlegroups.com> <3d96c99b-72fa-439c-93b4-abef2b9fd8a0@googlegroups.com> <579f207f$0$11110$c3e8da3@news.astraweb.com> <01f3d086-ba00-43c6-8f86-712fb940b054@googlegroups.com> <57a0de5d$0$1620$c3e8da3$5496439d@news.astraweb.com> X-Trace: news.uni-berlin.de nPcoM4SUS8NNi6WC36FM2AFrkvuXUlCEy6RAsQM5GHwQ== Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.000 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'compiler': 0.05; 'subject:code': 0.07; 'proprietary.': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'semantics': 0.09; 'specifying': 0.09; 'subject:Why': 0.09; 'stored': 0.10; 'subject:not': 0.11; 'syntax': 0.13; 'wed,': 0.15; '2016': 0.16; 'received:io': 0.16; 'received:psf.io': 0.16; 'statements;': 0.16; 'subject:allow': 0.16; 'tool.': 0.16; 'wrote:': 0.16; "wouldn't": 0.16; 'exists': 0.18; 'language': 0.19; '>>>': 0.20; 'library': 0.20; 'aug': 0.20; 'am,': 0.23; 'elements': 0.23; 'plain': 0.24; 'header:User- Agent:1': 0.26; 'header:X-Complaints-To:1': 0.26; 'define': 0.27; 'format,': 0.27; 'sequence': 0.27; 'specify': 0.27; 'turns': 0.27; 'that.': 0.30; 'probably': 0.31; 'combination': 0.33; "d'aprano": 0.33; 'steven': 0.33; 'traditional': 0.33; 'languages': 0.34; 'file': 0.34; 'next': 0.35; 'could': 0.35; 'text': 0.35; 'text.': 0.35; 'something': 0.35; '(and': 0.36; 'to:addr:python-list': 0.36; 'subject:?': 0.36; 'subject:: ': 0.37; 'expect': 0.37; 'received:org': 0.37; 'no,': 0.38; 'mean': 0.38; 'sure': 0.39; 'format': 0.39; 'to:addr:python.org': 0.40; 'where': 0.40; 'called': 0.40; 'some': 0.40; 'details': 0.62; 'more': 0.63; 'american': 0.69; 'edwards': 0.91 X-Injected-Via-Gmane: http://gmane.org/ User-Agent: slrn/1.0.2 (Linux) X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Mailman-Original-Message-ID: X-Mailman-Original-References: <579B1ABB.1070500@rece.vub.ac.be> <20160731115347.3c2a8344@imp> <20160731120434.3f587ad9@imp> <9a08c631-ce14-dc04-f038-ab31bd3ec350@gmail.com> <28fa2205-5d30-4d00-9ab9-b56c66274dd5@googlegroups.com> <3d96c99b-72fa-439c-93b4-abef2b9fd8a0@googlegroups.com> <579f207f$0$11110$c3e8da3@news.astraweb.com> <01f3d086-ba00-43c6-8f86-712fb940b054@googlegroups.com> <57a0de5d$0$1620$c3e8da3$5496439d@news.astraweb.com> Xref: csiph.com comp.lang.python:112249 On 2016-08-02, BartC wrote: > On 02/08/2016 18:54, Steven D'Aprano wrote: >> On Wed, 3 Aug 2016 02:56 am, BartC wrote: >> >>> (And I expect that next they will eliminate languages altogether. All >>> you need is some way of specifying a sequence of calls to library >>> functions and sprinkling around some control statements; >> >> That would be called "a language". > > No, it wouldn't be given its own identity. Sure it would. How else could you talk about it or differentiate it from something else? > And it probably couldn't be used without that specific tool. You mean like a compiler or interpreter? > It would be more like a file format, So you'd have to define a combination of syntax and semantics where you specify what elements are allowed in what order/context and what they mean in various combinations? It turns out there's a English word for that. It's called a "language". > if the details are even exposed when the format is proprietary. > > A traditional language exists as text and can be stored as plain > text. Many languages are plain text. Some aren't. -- Grant Edwards grant.b.edwards Yow! If elected, Zippy at pledges to each and every gmail.com American a 55-year-old houseboy ...