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


Groups > comp.lang.python > #35453

Re: Parsing files in python

From Terry Reedy <tjreedy@udel.edu>
Subject Re: Parsing files in python
Date 2012-12-24 06:29 -0500
References <20121223171955.GB32535@ifeobi.illom.net> <kb8c6k$kb7$1@ger.gmane.org> <CAPTjJmpUs46to1OdcGc_j76H=KrNHnzyS=-9i6B_2FNJGDywaw@mail.gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.1251.1356348593.29569.python-list@python.org> (permalink)

Show all headers | View raw


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

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


Thread

Re: Parsing files in python Terry Reedy <tjreedy@udel.edu> - 2012-12-24 06:29 -0500

csiph-web