Path: csiph.com!usenet.pasdenom.info!news.albasani.net!newsfeed.freenet.ag!news2.euro.net!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; 'python.': 0.02; 'output': 0.04; 'subject:skip:s 10': 0.05; 'tests,': 0.07; 'wrapper': 0.07; 'python': 0.09; 'friday,': 0.09; 'porting': 0.09; 'throws': 0.09; 'to:addr:comp.lang.python': 0.09; 'url:github': 0.09; 'worse': 0.09; 'cc:addr:python-list': 0.10; 'language,': 0.11; 'sat,': 0.15; "(i'm": 0.16; 'buggy': 0.16; 'directly?': 0.16; 'fiddle': 0.16; 'handling.': 0.16; 'hmm.': 0.16; 'run.': 0.16; 'wrote:': 0.17; 'fix': 0.17; 'comparing': 0.17; 'version.': 0.17; 'code,': 0.18; 'written': 0.20; 'all,': 0.21; 'trying': 0.21; 'fairly': 0.21; 'cc:2**0': 0.23; 'errors': 0.23; "python's": 0.23; 'third- party': 0.23; 'seems': 0.23; 'thus': 0.24; 'cc:no real name:2**0': 0.24; 'idea': 0.24; 'script': 0.24; 'cc:addr:python.org': 0.25; 'header:In-Reply-To:1': 0.25; 'header:User-Agent:1': 0.26; '(which': 0.26; 'am,': 0.27; 'chris': 0.28; '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; 'version': 0.34; 'received:google.com': 0.34; 'text': 0.34; 'thanks': 0.34; 'subject:?': 0.35; 'received:209.85': 0.35; 'but': 0.36; 'smaller': 0.36; "i'll": 0.36; 'thank': 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; 'help': 0.40; 'your': 0.60; 'from:no real name:2**0': 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 X-Received: by 10.49.97.104 with SMTP id dz8mr324596qeb.16.1362782538728; Fri, 08 Mar 2013 14:42:18 -0800 (PST) Newsgroups: comp.lang.python Date: Fri, 8 Mar 2013 14:42:18 -0800 (PST) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=68.13.70.209; posting-account=UqPACgoAAACxYISNVHVpmBbtSx3U-vdY References: User-Agent: G2/1.0 X-Google-Web-Client: true X-Google-IP: 68.13.70.209 MIME-Version: 1.0 Subject: Re: Any other screenwriters? From: richarddooling@gmail.com To: comp.lang.python@googlegroups.com Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: python-list@python.org 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: , Message-ID: Lines: 71 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1362782545 news.xs4all.nl 6867 [2001:888:2000:d::a6]:49211 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:40910 Thank you, Chris. I was trying to avoid the xcode since I know didley about= that too, but I'll download it and see if I can get it to run. THANKS AGAIN Rick On Friday, March 8, 2013 3:51:44 PM UTC-6, Chris Angelico wrote: > On Sat, Mar 9, 2013 at 8:07 AM, Rick Dooling wrote: >=20 > > 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) a= nd convert it to Python so I can fix it myself, because I don't know Ruby a= t all, and would rather work in Python. >=20 > > >=20 > > https://github.com/olivertaylor/Textplay >=20 >=20 >=20 > Hmm. You're looking at a fairly detailed markup language, and a >=20 > potentially buggy third-party implementation of it. Are you able to go >=20 > from the https://github.com/nyousefi/Fountain code instead? Given that >=20 > you don't know Ruby at all, you'd be no worse off there, and it seems >=20 > to be the "reference implementation". >=20 >=20 >=20 > Porting either version to Python is going to be a big job, >=20 > unfortunately. However, given that the reference implementation seems >=20 > to have been written for a Mac, you have a reasonable chance of being >=20 > able to execute the code, run the tests, and play with it, while you >=20 > develop your own version. That's a *huge* help in porting - you can >=20 > implement piece by piece, comparing in detail both the code and the >=20 > output of each subsection. >=20 >=20 >=20 > Alternatively, can you get the xcode version to run directly? (I'm not >=20 > a Mac person and have no idea whether this is at all possible.) Can >=20 > you call on it, in some way, and thus write just a wrapper around the >=20 > outside? Might be a smaller job. >=20 >=20 >=20 > Ultimately, you're working with a markup format. That means it's all >=20 > text in, fiddle fiddle, text out... a workflow that Python's pretty >=20 > good at handling. But you may be letting yourself in for a fairly big >=20 > job :) >=20 >=20 >=20 > ChrisA