Design Considerations of GIMPLE Front End

Diego Novillo dnovillo@google.com
Tue May 18 14:09:00 GMT 2010


On Tue, May 18, 2010 at 09:59, Michael Matz <matz@suse.de> wrote:

> I don't see how that is much easier to parse compared to
>  i_1 = k_1 + m_1
>  j_1 = func (arg1, arg2)

Well, it would make the parser almost trivial to implement.  But you
have a point, the only structurally complex objects we need to parse
are type declarations.  Everything else should have very uniform
syntax.

> The nice thing with tuples is that there's always only one operator, and
> hence no ambiguity in precedence that needs to be resolved or explicitely
> encoded via a list structure.

That's true.

> Or is the format also intended to be able to represent GENERIC, i.e.
> deeply nested structures?

No, just gimple.


Diego.



More information about the Gcc mailing list