This is the mail archive of the binutils@sourceware.org mailing list for the binutils 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]

Re: spu-as input syntax/parser


Timo Schneider <timo.schneider@s2004.tu-chemnitz.de> writes:

> So I thougt I could find the GNU assembly grammar in (E)BNF or alike and 
> build a simple parser with flex/bison. Unfortunately I didn't find such a 
> grammer neighter in binutils/gas source nor in the binutils/gas manual 
> (only a description of the syntax in text form was available there).
> 
> Maybe one of you can tell me where to find the binutils/gas input grammar?

Most gas targets do not use a bison grammar.  No gas targets use flex.
Most assembly languages are easy enough to parse anyhow.

Ian


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]