Path: csiph.com!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder2.enfer-du-nord.net!cs.uu.nl!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: 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; 'package,': 0.03; 'syntax': 0.03; 'defines': 0.07; 'argument,': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'subject:files': 0.09; 'terry': 0.09; 'subject:python': 0.11; 'extension': 0.13; 'language': 0.14; 'dsl,': 0.16; 'opposite': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'reedy': 0.16; 'regularly).': 0.16; 'wrote:': 0.17; 'module,': 0.17; 'tend': 0.17; 'jan': 0.18; 'meant': 0.21; 'struct': 0.22; "python's": 0.23; 'idea': 0.24; 'header:In-Reply-To:1': 0.25; 'header:User-Agent:1': 0.26; '(which': 0.26; 'wonder': 0.27; 'header:X-Complaints-To:1': 0.28; 'chris': 0.28; 'python"': 0.29; 'this.': 0.29; 'maybe': 0.29; 'substantial': 0.33; 'to:addr:python-list': 0.33; 'that,': 0.34; 'pm,': 0.35; 'received:org': 0.36; 'but': 0.36; 'alone': 0.36; 'subject:: ': 0.38; 'to:addr:python.org': 0.39; 'header:Received:5': 0.40; 'received:fios.verizon.net': 0.84 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Terry Reedy Subject: Re: Parsing files in python Date: Mon, 24 Dec 2012 06:29:23 -0500 References: <20121223171955.GB32535@ifeobi.illom.net> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Gmane-NNTP-Posting-Host: pool-173-75-251-66.phlapa.fios.verizon.net User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/17.0 Thunderbird/17.0 In-Reply-To: X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 17 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1356348593 news.xs4all.nl 6911 [2001:888:2000:d::a6]:42315 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:35453 On 12/23/2012 11:05 PM, Chris Angelico wrote: > But other than that, yes, Python's a good choice for this. (I find it > amusing how I said "yeah, good idea to make a DSL, I wonder if you can > capitalize on Python" and you said "don't make a DSL, maybe you can > capitalize on Python" - opposite opening argument, same conclusion and > recommendation.) I am aware that every substantial module, let alone package, defines a domain-specific extension or vocabulary. str.format and struct even have their own mini-language (which people tend to forget if not used regularly). What I meant was to not invent a domain-specific base language and syntax that is a complete replacement for an existing one. -- Terry Jan Reedy