Path: csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!rt.uk.eu.org!newsfeed.xs4all.nl!newsfeed3.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-announce@python.org Delivered-To: python-announce-list@mail.python.org X-Spam-Status: OK 0.001 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'python.': 0.02; 'yet.': 0.04; 'url:bitbucket': 0.05; 'expressions': 0.07; 'gpl': 0.07; 'modifying': 0.07; 'parsing': 0.09; 'python': 0.11; '2.7': 0.14; '<>.': 0.14; 'programs.': 0.14; 'bitbucket': 0.16; 'graben': 0.16; 'iso/iec': 0.16; 'received:eu': 0.16; 'language': 0.16; 'meant': 0.20; 'written': 0.21; 'programming': 0.22; 'parse': 0.24; 'initial': 0.24; 'framework': 0.33; 'test': 0.35; 'but': 0.35; 'yours,': 0.36; 'url:org': 0.36; 'does': 0.39; 'generating': 0.39; 'how': 0.40; 'complete': 0.62; 'real': 0.63; 'world': 0.66; 'sample': 0.67; 'to:addr:comp-lang-python-announce': 0.70; 'to:addr:moderators.isc.org': 0.77; 'bench': 0.84; 'lokale': 0.84 To: comp-lang-python-announce@moderators.isc.org From: Volker Birk Newsgroups: comp.lang.python.announce Subject: pyC11 initial publication Date: Sat, 4 May 2013 07:00:31 +0000 (UTC) Organization: [ posted via ] IN-Ulm Keywords: pyPEG, parser, composer, compiler, Python, C X-Mailman-Approved-At: Mon, 06 May 2013 11:46:58 +0200 X-BeenThere: python-announce-list@python.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: python-list@python.org List-Id: Announcement-only list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Approved: python-announce-list@python.org Message-ID: Lines: 21 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1367833620 news.xs4all.nl 15897 [2001:888:2000:d::a6]:48506 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python.announce:928 pyC11 is a grammar to parse programs in the C programming language following ISO/IEC 9899:2011. It is written using pyPEG, a parsing framework for Python. The grammar supports Python 2.7 and 3.x. The test bench requires py.test. This is the initial upload. The grammar is incomplete. Parsing C expressions works, but parsing complete C programs does not work yet. pyC11 is meant to be used for parsing, modifying and generating C expressions and programs. It is a real world sample how to use pyPEG. pyC11 is provided under the GNU GPL 2.0. You can find pyC11 on Bitbucket at . Yours, VB. -- Volker Birk, Oberer Graben 4, CH-8400 Winterthur, Schweiz, Erde, Solar-System, Orion Arm, Milchstrasse, Lokale Gruppe, Virgo-Superhaufen, Coma-Virgo-Filament. mailto:dingens@bumens.org http://fdik.org D-IRCNet fdik!vb@dragon.pibit.ch