This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
| Other format: | [Raw text] | |
?? ?? wrote:- > I want to build an independent lexical analyzer and syntax analyzer for GNU > C++. > I find parse.y in gcc/cpp which contains syntax of GNU C++, but there is no > lex.l in it. > Where can I get it? > Must I write a lexical analyzer from scratch? Yes. If you want to have identical lexical rules and warnings to GCC, I suspect you'll find it hard to impossible with automatically generated analyzers. Neil.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |