Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #69248
| Path | csiph.com!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!newsfeed.xs4all.nl!newsfeed2.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <rosuav@gmail.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.006 |
| X-Spam-Evidence | '*H*': 0.99; '*S*': 0.00; 'languages.': 0.04; 'syntax': 0.04; 'xml,': 0.05; 'parser': 0.07; 'already.': 0.09; 'http': 0.09; 'python:': 0.09; 'subject:language': 0.09; 'xml.': 0.09; 'cc:addr:python-list': 0.11; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'java.': 0.16; 'roy': 0.16; 'statement.': 0.16; 'yaml': 0.16; 'language': 0.16; 'wrote:': 0.18; 'file,': 0.19; 'programming': 0.22; 'cc:addr:python.org': 0.22; 'simpler': 0.24; 'fairly': 0.24; 'java': 0.24; 'looks': 0.24; 'cc:2**0': 0.24; 'possibly': 0.26; 'header:In-Reply-To:1': 0.27; 'chris': 0.29; 'xml': 0.29; 'message-id:@mail.gmail.com': 0.30; 'code': 0.31; 'requests': 0.31; 'commonly': 0.31; 'this.': 0.32; '(most': 0.33; 'actively': 0.33; 'fri,': 0.33; "i'd": 0.34; 'could': 0.34; 'except': 0.35; 'point.': 0.35; 'received:google.com': 0.35; 'add': 0.35; 'there': 0.35; 'impression': 0.36; 'wrong': 0.37; 'easily': 0.37; 'question,': 0.38; 'needed': 0.38; 'pm,': 0.38; 'structure': 0.39; 'though,': 0.39; 'easy': 0.60; 'flat': 0.60; 'life,': 0.60; 'most': 0.60; 'simply': 0.61; 'first': 0.61; 'times': 0.62; 'here': 0.66; 'mar': 0.68; 'answer.': 0.68; 'smith': 0.68; 'other.': 0.75; 'article': 0.77; 'to:none': 0.92; 'ports': 0.93 |
| DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:cc :content-type; bh=1RImqUIxBgex+dwjrMQdQa+nxDkKXIRfRTGrCEyBqGc=; b=VM+yMFXtz9s/Z55qWm7jSRSaLUevoOmvF61C86fdsouqErel1tiW8ddV9Gp7qHolWH q4LaOH+WwBS6PVaK0PdM9KYdYiqfNyOvGKCGYSn0e3y61gOxVlqARo6nr6Boih3KewQz 7MxeCLe1bPNARR+Yurh2otUDHlTXfqScuW/mKxtPXs+WBZfe8skZwhfY4/V6eAuTrRBa g5qsY/Lkdq+CMUlWkwsAeuIx4ZO8D4VJOSzePtAPBpAygs2xYGOaDy8Uq/PvfEXUN1Qr nuQNOZxppj5NfPntpnJJL53rRJe2j5m6mvZ4uJaCYfsoj2OFy8pAWwwQnrUbt3A6ir7L YBMQ== |
| MIME-Version | 1.0 |
| X-Received | by 10.66.181.70 with SMTP id du6mr5820557pac.23.1395977436662; Thu, 27 Mar 2014 20:30:36 -0700 (PDT) |
| In-Reply-To | <roy-A58360.23132127032014@news.panix.com> |
| References | <DCD75728F460F14586086EA606E83082011A8E01E3@ACEVXCHMBX1001.ADVENTISTCORP.NET> <mailman.8653.1395975737.18130.python-list@python.org> <roy-A58360.23132127032014@news.panix.com> |
| Date | Fri, 28 Mar 2014 14:30:36 +1100 |
| Subject | Re: meta language to define forms |
| From | Chris Angelico <rosuav@gmail.com> |
| Cc | "python-list@python.org" <python-list@python.org> |
| Content-Type | text/plain; charset=UTF-8 |
| 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 | <https://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 | <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.8656.1395977445.18130.python-list@python.org> (permalink) |
| Lines | 29 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1395977445 news.xs4all.nl 2829 [2001:888:2000:d::a6]:37947 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:69248 |
Show key headers only | View raw
On Fri, Mar 28, 2014 at 2:13 PM, Roy Smith <roy@panix.com> wrote: > In article <mailman.8653.1395975737.18130.python-list@python.org>, > Chris Angelico <rosuav@gmail.com> wrote: >> Rule of Python: XML is not the answer. XML is the question, and "NO!" >> is the answer :) > > The nice thing about that rule is that it ports easily to so many other > programming languages. Except possibly Java. Java and XML seem to be > made for each other. The only times I have *ever* used XML, in my whole life, were when I needed to communicate with some other end that stipulated XML. (Most commonly XML payload in HTTP requests and responses, eg SOAP.) In most of those cases, some simpler structure would have sufficed; and in a number of them, XML is simply wrong for the job. >> Your syntax there looks reasonable already. I'd recommend you make it >> a flat data file, though, don't try to make it a programming language >> - unless you actively need it to be one. Here are a couple of ways you >> could format this. Any would be fairly easy to code a parser for. > > My first impression here is that YAML might work here. Good point. Add it as a fifth option! That section was already turning into a cardinal's weaponry statement. I said "a couple" and ended up with four... now five. :) ChrisA
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Re: meta language to define forms Chris Angelico <rosuav@gmail.com> - 2014-03-28 14:02 +1100
Re: meta language to define forms Roy Smith <roy@panix.com> - 2014-03-27 23:13 -0400
Re: meta language to define forms Chris Angelico <rosuav@gmail.com> - 2014-03-28 14:30 +1100
Re: meta language to define forms Rustom Mody <rustompmody@gmail.com> - 2014-03-27 20:44 -0700
Re: meta language to define forms Chris Angelico <rosuav@gmail.com> - 2014-03-28 14:57 +1100
Re: meta language to define forms Rustom Mody <rustompmody@gmail.com> - 2014-03-27 21:19 -0700
csiph-web