Hello,
I stay on PetitParser for multiple (personal) reasons:
1. Most important: It costs me nothing, my parser/AST builder work. I have no reason to spend energy on the migration.
1 bis. I am not aware of any tutorial to migrate from PP1 to PP2
2. My parser makes heavy uses of dependencies between parsers feature. I have no idea if this still exists in PP2. If I look on PPCompositeNode class-side I do not see the #dependencies method present in PPCompositeParser.
2 bis. I have no idea what would be the cost to migrate my parser dependencies setup from PP1 to PP2.
3. I have more confidence in PP1 because it has been widely used by a lot of people for several years (it is only my feeling but, PP2 seems less stable than PP1 to me).
4. PP2 lacks of documentation on classes (in PetitParser2 package, only 13/92 classes as I look right now).
If one day I write another parser, I will consider PetitParser2 of course. But for now, I will stick to PetitParser.
Regards,
Julien
---
Julien Delplanque
Doctorant à l’Université de Lille
Bâtiment B 40, Avenue Halley 59650 Villeneuve d'Ascq
Numéro de téléphone: +333 59 35 86 40
I quickly checked the changelog, most of the issues do not seem to apply to PP2. Feel free to open a bug in the
PP2 git repo, if there is something missing.
Julien, out of the curiosity, what would be needed for your project to be migrated to PP2?
Cheers,
Jan
_______________________________________________
Moose-dev mailing list
Moose-dev@list.inf.unibe.chhttps://www.list.inf.unibe.ch/listinfo/moose-dev