ANSI C grammar dependency graph

R

Richard Heathfield

Ben Pfaff said:
It's kind of pretty. Simpler than I might have guessed, too.

The dot file would have been a nice touch, for those with bandwidth
restrictions. (To be fair, it's easy enough to make your own, either from
a copy of the Standard or from K&R2.)
 
R

Richard Heathfield

Chris Hills said:
Do you have one for ISO-C?

Since ANSI C and ISO C are isomorphic (or, if you prefer, ansimorphic), it
is clear that IF his existing graph correctly describes ANSI C, it also
correctly describes ISO C.
 
P

pete

Richard said:
Ben Pfaff said:


The dot file would have been a nice touch, for those with bandwidth
restrictions. (To be fair, it's easy enough to make your own,
either from
a copy of the Standard or from K&R2.)

I can't understand what it means.

It starts with translation_unit and then there's
an arrow pointing to external_declarations.

I understand that a translation unit,
is entirely made up of external declarations.
But as for the rest of it,
I don't understand what relationships
are supposed to be indicated by the arrows.

I have no idea what the relationship between
type_specifier and type_id is supposed to be,
or even what "type_id" is supposed to mean.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,432
Messages
2,571,680
Members
48,796
Latest member
Greg L.

Latest Threads

Top