Hi Daniel, I haven't looked at your code yet, but wonder what your goal is? How is your serialization different from source := aProgramNode source ? How is your deserialization different from RBParser parseMethod: source ? Cheers, Lukas 2010/4/27 Daniel Galdames <lemuus@gmail.com>:
Hi, I'm working on a serialization of a RB AST, is in a very very earlier state, it can encode simple ASTs into a string but today i changed the encode methods, so now you can't decode the generated string :-P .Some node from AST-Core can't be encoded yet (RBPragmaNode, RBArrayNode, RBLiteralArrayNode) because I'm not sure what to encode, and the nodes aren't documented, at least in Pharo 1.0. Any comments and suggestions will be appreciated!! :-) I uploaded the code in squeaksource:
http://www.squeaksource.com/AstSerializer.html
I'm a bit new to Smalltalk and Pharo, so feel free to comment...
Greetings,
  Daniel Galdames G.
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
-- Lukas Renggli www.lukas-renggli.ch