Path: csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail From: Tal Zion Newsgroups: comp.lang.python Subject: Re: Request for opinions: A cross language development tool Date: Tue, 21 Jun 2016 21:30:45 +0300 Lines: 17 Message-ID: References: <57692EBD.1060606@bridge-dev.com> <576949CC.2070708@bridge-dev.com> <576980EA.2030103@bridge-dev.com> <576987D5.3030502@bridge-dev.com> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Trace: news.uni-berlin.de gjNWT8Ncu5BzLX7+c0rTLAzBu9v3wTFmSDaO1NpdWimA== Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.008 X-Spam-Evidence: '*H*': 0.98; '*S*': 0.00; '22,': 0.09; 'ast': 0.09; 'str,': 0.09; 'subject:language': 0.09; 'python': 0.10; 'wed,': 0.15; '2016': 0.16; 'received:io': 0.16; 'received:psf.io': 0.16; 'targeting': 0.16; 'those,': 0.16; 'wrote:': 0.16; 'language': 0.19; 'class,': 0.22; 'exec': 0.22; 'features,': 0.22; 'libraries': 0.22; 'parse': 0.22; 'am,': 0.23; 'code,': 0.23; 'code.': 0.23; 'header:In-Reply-To:1': 0.24; 'module': 0.25; 'header:User-Agent:1': 0.26; 'chris': 0.26; "we're": 0.30; 'work.': 0.30; 'code': 0.30; 'implement': 0.32; 'handle': 0.34; 'done': 0.35; 'quite': 0.35; 'but': 0.36; 'should': 0.36; 'modules': 0.36; 'to:addr:python-list': 0.36; 'pm,': 0.36; 'subject:: ': 0.37; 'to:addr:python.org': 0.40; 'charset:windows-1252': 0.62; 'bridge': 0.63; 'chrisa': 0.84; 'compiles': 0.84; 'dict,': 0.84; 'subject:tool': 0.84 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=bridge-dev.com; s=default; h=Content-Transfer-Encoding:Content-Type:In-Reply-To:MIME-Version:Date:Message-ID:From:References:To:Subject; bh=dSF69Q0kp1CC81H8pxhfqE2NrT5hSD5DLkuQrGqLOqQ=; b=dsp3nrPhaax+tOg5CaidRPDUAeoogMJZa21mIIBUNItMVNsxzMWeJsGHxosqgXrOngCox+Mx2Qs35wWeQmaBvyYtvXNh7l1VdyDyZ9gIy3GhJKzeJqMf2FqTCyxtDTiaWVzFaGkGzK/IKdKL+aBhPH0HGcTblqz8Jvv0JyQ0D+PSYymCM2CaSFl5S1AlSf8hGRJbv1519TxG594odwJrdiTkCWTXpQv0+jhjeu3yfT3VeMfase8EkFxODDqksdOYGRMUTKPOv7I4WeWrxbWevKy1wdpES6kj8aVVNfALtBNrmpe+K2bh0IZFeSS2/bbihufZ3W+tL/W9GWX6YvzU+A==; User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.8.0 In-Reply-To: X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - n1plcpnl0079.prod.ams1.secureserver.net X-AntiAbuse: Original Domain - python.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - bridge-dev.com X-Get-Message-Sender-Via: n1plcpnl0079.prod.ams1.secureserver.net: authenticated_id: tal@bridge-dev.com X-Source: X-Source-Args: X-Source-Dir: X-CMAE-Envelope: MS4wfEsBGTAiMlBTFDtNrrrXN41IRDvgphbWq1b7vUQaOdRKpaZxojUTJs46dZ8D3ANgOms3okHnhSO+ryiJ4cT0SH27aoDghGgYBxYSDxzUyjW3Y1X5pDDs Zp4qirqnbcUHC7awDv3D0wFJcaVmH0xtVx3/7QoQSBQWSqmZv8RqoJgwyE7PsdbOYEZW1yolEZSNEkzc4n5eotKjVXZJF4VeHb8= X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Mailman-Original-Message-ID: <576987D5.3030502@bridge-dev.com> X-Mailman-Original-References: <57692EBD.1060606@bridge-dev.com> <576949CC.2070708@bridge-dev.com> <576980EA.2030103@bridge-dev.com> Xref: csiph.com comp.lang.python:110261 We use CPython's implementation of exec and eval. Tal On 06/21/2016 09:26 PM, Chris Angelico wrote: > On Wed, Jun 22, 2016 at 4:01 AM, Tal Zion wrote: >> Bridge compiles Python modules into native code, which requires us to >> support Python *language* features (for, while, class, generators, etc) but >> it reuses CPython's libraries (list, dict, str, etc) so we don't implement >> those, and it also uses CPython's ast module in order to parse Python code. >> So once we are done supporting all of the language features, any Python code >> should work. Currently we have quite a few language features to implement, >> but we're working on it =) We're targeting Python 3.5. > Okay, so how do you handle exec and eval? > > ChrisA