You can take a look on Ocsigen project which implements a HTML5 AST. 2012/10/5 bob zhang > Dear List, > Has anyone have the experience using polymorphic variant for a big Ast? > The benefit I can think of is open recursion, global namespace(not in a > module). Did anyone give a try? > Many thanks > > -- > Regards > -- Bob > -- --------------------- https://twitter.com/#!/ontologiae/ http://linuxfr.org/users/montaigne