For most examples, we show:
Important note: The original gcc dump is 1 based (i.e. nodes are numbered starting at 1) while the modified gcc dump is 0 based.
This provides a substantial examples of GXL text. Not cppx'ed yet, though: this is still the gcc ASG pure and simple.
rexexp.c [source | gcc ASG in GXL ]
Here are some simple examples with ASGs at various stages of conversion.
These examples are based on the 7 pages of VCG-style diagrams in the Datrix documentation. GCC does not accept many of these examples as written, so some minimal changes have been made to get the GCC compiler to accept them.
These examples are taken from documentation of the "Proposal for a standard C/C++ Schema" of Ferenc et. al. of the University of Szeged. Some of them don't work yet, so links are missing.
AJM 2001-04-4