> Hi All
> I have some really basically string parsing to write an equivalent of
> @decode(), which produces simply a human readable textual description
> of the types that have been passed into the parser.
> Now I am replacing that 'spike' parser with a more fully functional
> LL parser based on the spirit module contained within the boost
> My issue is, there are actually more types to parse than are
> described in the ObjC.pdf (or other source of info about type
> encodings). E.g. sometimes I find 'r' or 'V' in a type expression,
> and I'm not sure what these stand for in terms of types.
> Can anyone point me to a reference that goes into more detail about
> the encoded types than the standard Apple docs? If there's nothing
> out there - I've assumed that I will have to dig into the code for
> class-dump / c++filt or gcc (gulp!). :-)
There is some docs in the GCC documention. I just added information
on how to decode "complex" types there. Also the GNU objc runtime
has a decoder for getting the sizeof and alignof for the struct if
that is all you need. I can add a function which gives back a nice
string if you want.
GNU objc runtime maintainer
Do not post admin requests to the list. They will be ignored.
Objc-language mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden