This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: GAS parser
- From: "l l" <happyarch at gmail dot com>
- To: "Ivan Pryanishnikov" <prianich at complang dot tuwien dot ac dot at>
- Cc: binutils at sourceware dot org
- Date: Sat, 4 Aug 2007 18:44:17 +0900
- Subject: Re: GAS parser
- References: <20070802135244.GA23349@complang.tuwien.ac.at>
Hi,
Little offtopic but, IMHO, self host(self compile assembler like fasm)
make gas more portable.
TIA
2007/8/2, Ivan Pryanishnikov <prianich@complang.tuwien.ac.at>:
> Hi,
>
> I'm going to port binutils to a new target and looking at
> the organization of the package.
>
> I have a question concerning GAS: some ports (eg, bfin) use
> lex/bison extensions (eg, bfin-lex.l, bfin-parse.y) to write their
> parsers.
>
> I was wandering about the reasons behind; possibly some of them
> are:
> - it's easier (generally) in some sense
> - it's not possible to solve their parsing problems in a standard way
> - they had some non-gnu assembler and just adjust/reuse it for the
> binutils assembler (because it's easier than to write from scratch)
> - ??
>
> Could you please comment this issue.
> Thanks,
> Ivan
>