[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: nyacc 0.65.0 released
From: |
Ludovic Courtès |
Subject: |
Re: nyacc 0.65.0 released |
Date: |
Wed, 30 Dec 2015 18:38:17 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) |
Matt Wette <address@hidden> skribis:
> I can’t remember if any C99 items are not in. I do not have any GNU99
> extensions in there. However, this is not a faithful parser for C99. The
> purpose is not to compile, but to generate translators and auto-coders. I
> have built the parser with the following features:
> 1) The c-preprocessor parsing is merged in with the lexical analyzer.
> 2) The parse tree is “file oriented”, so that you can track what elements are
> in the top-level file.
> 3) The parser will parse comments.
OK.
Keeping things this way, with CPP parsing built in, is useful to
analyzers + pretty-printers, and also for semantic patching tools like
Coccinelle.
Ludo’.