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


Groups > comp.lang.python > #40906

Re: Any other screenwriters?

Path csiph.com!usenet.pasdenom.info!weretis.net!feeder1.news.weretis.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.freenet.ag!news2.euro.net!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.000
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; 'python.': 0.02; 'output': 0.04; 'subject:skip:s 10': 0.05; 'tests,': 0.07; 'wrapper': 0.07; 'python': 0.09; 'porting': 0.09; 'throws': 0.09; 'url:github': 0.09; 'worse': 0.09; 'language,': 0.11; 'sat,': 0.15; "(i'm": 0.16; 'buggy': 0.16; 'directly?': 0.16; 'fiddle': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'handling.': 0.16; 'hmm.': 0.16; 'wrote:': 0.17; 'fix': 0.17; 'comparing': 0.17; 'version.': 0.17; 'code,': 0.18; 'written': 0.20; 'all,': 0.21; 'fairly': 0.21; 'errors': 0.23; "python's": 0.23; 'third-party': 0.23; 'seems': 0.23; 'thus': 0.24; 'idea': 0.24; 'script': 0.24; 'header:In-Reply-To:1': 0.25; '(which': 0.26; 'am,': 0.27; 'message-id:@mail.gmail.com': 0.27; 'run': 0.28; 'end,': 0.29; 'markup': 0.29; 'piece': 0.29; 'subject:other': 0.29; 'convert': 0.29; 'code': 0.31; 'implement': 0.32; 'mac': 0.32; 'to:addr:python-list': 0.33; 'version': 0.34; 'received:google.com': 0.34; 'text': 0.34; 'subject:?': 0.35; 'received:209.85': 0.35; 'but': 0.36; 'smaller': 0.36; 'execute': 0.37; 'being': 0.37; 'detail': 0.37; 'ones': 0.37; 'rather': 0.37; 'received:209': 0.37; 'subject:: ': 0.38; 'some': 0.38; 'there,': 0.38; 'to:addr:python.org': 0.39; 'help': 0.40; 'your': 0.60; 'skip:u 10': 0.60; 'chance': 0.61; 'potentially': 0.66; 'yourself': 0.77; '2013': 0.84; 'subject:Any': 0.84; 'rick': 0.91
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:content-type:content-transfer-encoding; bh=Mc0QP7oenDsg+SNDa6yfl9BIPA6T6dqxaelguuk2UV4=; b=rmjrSfgkOgSJgISwHqifEKEyLuKu2zfj1sebh+kWovUXDD9ZVpta5QdUeqWf8clRMq 778MaAWJSc+d3DJiRkf9raVJ2Xt3tHXyezIG6O3+XzxPWiLqAsfgczow0l6Ob70Gvx7I yK2YRPeZpYX8kui0i9zYW8C5SpFrha8bW2oAgFIvDNuygypOsAB3Lp4A0YYiaZrzMcWl DNjq1VaDU7Wa2oqVIWR6Q/rkKimlq+ZDPjzF3FLHwZXI3PM3iyOw2sEG/IFOsKnQYYxL JazmdBdbu4S+pH8ViARuCZDiLwwiqh4mP8nMLxHm+5yebblPPulEi1iJkyqKZ6r9OBIA AJpg==
MIME-Version 1.0
X-Received by 10.68.212.104 with SMTP id nj8mr648779pbc.197.1362779504807; Fri, 08 Mar 2013 13:51:44 -0800 (PST)
In-Reply-To <d09d7eaf-9271-424c-8c2f-52cf1b082427@googlegroups.com>
References <d09d7eaf-9271-424c-8c2f-52cf1b082427@googlegroups.com>
Date Sat, 9 Mar 2013 08:51:44 +1100
Subject Re: Any other screenwriters?
From Chris Angelico <rosuav@gmail.com>
To python-list@python.org
Content-Type text/plain; charset=ISO-8859-1
Content-Transfer-Encoding quoted-printable
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.3103.1362779514.2939.python-list@python.org> (permalink)
Lines 33
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1362779514 news.xs4all.nl 6848 [2001:888:2000:d::a6]:37161
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:40906

Show key headers only | View raw


On Sat, Mar 9, 2013 at 8:07 AM, Rick Dooling <rpdooling@gmail.com> wrote:
> To that end, I would like to take this Ruby script (which works pretty well, but throws errors in Mac OS X; some Ruby ones and some Prince ones) and convert it to Python so I can fix it myself, because I don't know Ruby at all, and would rather work in Python.
>
> https://github.com/olivertaylor/Textplay

Hmm. You're looking at a fairly detailed markup language, and a
potentially buggy third-party implementation of it. Are you able to go
from the https://github.com/nyousefi/Fountain code instead? Given that
you don't know Ruby at all, you'd be no worse off there, and it seems
to be the "reference implementation".

Porting either version to Python is going to be a big job,
unfortunately. However, given that the reference implementation seems
to have been written for a Mac, you have a reasonable chance of being
able to execute the code, run the tests, and play with it, while you
develop your own version. That's a *huge* help in porting - you can
implement piece by piece, comparing in detail both the code and the
output of each subsection.

Alternatively, can you get the xcode version to run directly? (I'm not
a Mac person and have no idea whether this is at all possible.) Can
you call on it, in some way, and thus write just a wrapper around the
outside? Might be a smaller job.

Ultimately, you're working with a markup format. That means it's all
text in, fiddle fiddle, text out... a workflow that Python's pretty
good at handling. But you may be letting yourself in for a fairly big
job :)

ChrisA

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


Thread

Any other screenwriters? Rick Dooling <rpdooling@gmail.com> - 2013-03-08 13:07 -0800
  Re: Any other screenwriters? Chris Angelico <rosuav@gmail.com> - 2013-03-09 08:51 +1100
    Re: Any other screenwriters? richarddooling@gmail.com - 2013-03-08 14:42 -0800
    Re: Any other screenwriters? richarddooling@gmail.com - 2013-03-08 14:42 -0800
  Re: Any other screenwriters? Rick Johnson <rantingrickjohnson@gmail.com> - 2013-03-08 19:41 -0800
    Re: Any other screenwriters? richarddooling@gmail.com - 2013-03-08 21:36 -0800
      Re: Any other screenwriters? Rick Johnson <rantingrickjohnson@gmail.com> - 2013-03-09 15:07 -0800
  Trelby (was: Any other screenwriters?) "W. Martin Borgert" <debacle@debian.org> - 2013-03-09 10:42 +0100
  Re: Any other screenwriters? richarddooling@gmail.com - 2013-03-10 07:53 -0700

csiph-web