This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Design Considerations of GIMPLE Front End
On Tue, May 18, 2010 at 2:34 AM, Andrew Haley <aph@redhat.com> wrote:
>> ? ?For example:
>> ? ?A textual GIMPLE tuple for the statement a=b+c can be like
>> ? ?<GIMPLE_ASSIGN<PLUS_EXPR,a,b,c>> ?(As demonstrated by the internal
>> manual also).
>> ? ?Is such a representation easy to parse?
>
> S-expressions are easier to parse and more compact, and are consistent
> with gcc's back end. ?Also, there are editors that already know how to
> edit and indent S-expressions.
Thanks Andrew . Any thoughts on the 3rd point?
>
> Andrew.
>
--
Cheers
Sandy