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


Groups > comp.lang.python > #44813

Re: pyC11 initial publication

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.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 <amirouche.boubekki@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-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; 'url:psf': 0.12; '2.7': 0.14; '<>.': 0.14; 'programs.': 0.14; '&lt;&gt;.': 0.16; 'bitbucket': 0.16; 'graben': 0.16; 'iso/iec': 0.16; 'macros': 0.16; 'url:donations': 0.16; 'language': 0.16; 'thanks,': 0.17; 'meant': 0.20; 'written': 0.21; 'programming': 0.22; 'parse': 0.24; 'initial': 0.24; 'define': 0.26; 'values': 0.27; 'header:In-Reply-To:1': 0.27; 'message-id:@mail.gmail.com': 0.30; 'url:mailman': 0.30; 'url:python': 0.33; 'framework': 0.33; 'to:name:python-list': 0.33; 'test': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'yours,': 0.36; 'url:listinfo': 0.36; 'possible': 0.36; 'url:org': 0.36; 'list': 0.37; 'to:addr:python- list': 0.38; 'does': 0.39; 'generating': 0.39; 'to:addr:python.org': 0.39; 'url:mail': 0.40; 'how': 0.40; 'complete': 0.62; 'real': 0.63; 'world': 0.66; 'sample': 0.67; 'bench': 0.84; 'lokale': 0.84; 'url:python-announce-list': 0.84
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:mime-version:in-reply-to:references:from:date:message-id :subject:to:content-type; bh=YjSnJ64KwP9Oo4Qjtyl6e863uVPIb/7A78VyE5KdaeE=; b=v9X7S1uF7Ss60thhfuBZUT9PovipIeQzdrhj4tTQF2gLdXXHT+F6UA7NlCeBqOE5iB EtlAb3BjBX0F8naFAYfQqgeaUZ5DBfJXK68n0FoUyvOZXq676tmYtqnrK+bcd952HU21 bl2QJxbCpZLQPSP4eDFfOR2kLHgB3ekWRhFJV6cBB2h4rwPVMH049wyQN4TJXbpljv8r ytNRB+Z0whlFy9J4oC5etk45etNKTFRUahUjnmJOJYO7ScgzP7eDCnZkBqBFIfhLm4io FQWfNeaHAhYL4jh9vpfvdgAPJ2qCOnSlxlkfCAPb8PFyhomzXpk3jZK8XL6EPfcox/qT B/rg==
X-Received by 10.182.129.129 with SMTP id nw1mr341160obb.100.1367835417257; Mon, 06 May 2013 03:16:57 -0700 (PDT)
MIME-Version 1.0
In-Reply-To <km2bmfUdb2L1@news.in-ulm.de>
References <km2bmfUdb2L1@news.in-ulm.de>
From Amirouche Boubekki <amirouche.boubekki@gmail.com>
Date Mon, 6 May 2013 12:16:37 +0200
Subject Re: pyC11 initial publication
To python-list <python-list@python.org>
Content-Type multipart/alternative; boundary=089e011765b72833d704dc0a0001
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.1359.1367835880.3114.python-list@python.org> (permalink)
Lines 93
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1367835880 news.xs4all.nl 15954 [2001:888:2000:d::a6]:34245
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:44813

Show key headers only | View raw


[Multipart message — attachments visible in raw view] - view raw

Héllo,

Does it support macros ? Is it possible to retrieve the list of macros and
define macro values ?

Thanks,

Amirouche


2013/5/4 Volker Birk <bumens@dingens.org>

> 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 <https://bitbucket.org/fdik/pyc11>.
>
> 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
> --
> http://mail.python.org/mailman/listinfo/python-announce-list
>
>         Support the Python Software Foundation:
>         http://www.python.org/psf/donations/
>

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


Thread

Re: pyC11 initial publication Amirouche Boubekki <amirouche.boubekki@gmail.com> - 2013-05-06 12:16 +0200

csiph-web