Daniel what would be really cool is to see if we can compact/zip AST because marcus is really interested into slimbinary libraries and having a really strong compaction of AST would be an interesting basis for a lot of experience On Apr 27, 2010, at 6:45 AM, Daniel Galdames wrote:
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