I want to serialize/deserialize an AST, binary format, using C#. But, I'm not clear how the AST is reconstructed on deserialization concerning the IToken.Parent.
I see some serialization in ANTLR, e.g. Antlr.Runtime.Debug.DebugEventSocketProxy.SerializeToken. This would be a pointer; therefore, some recursive approach to using built-in AddChild methods or something must be done??? Before I brew up something, perhaps this is (a) already done/available? (b) easier than I'm making it??? Thanks, Ben --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "il-antlr-interest" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/il-antlr-interest?hl=en -~----------~----~----~----~------~----~------~--~---
List: http://www.antlr.org/mailman/listinfo/antlr-interest Unsubscribe: http://www.antlr.org/mailman/options/antlr-interest/your-email-address
