Skip to content

Instantly share code, notes, and snippets.

@olekscode
Last active March 16, 2020 11:31
Show Gist options
  • Save olekscode/1625afd5bd9f5ee441edd64568ac59e6 to your computer and use it in GitHub Desktop.
Save olekscode/1625afd5bd9f5ee441edd64568ac59e6 to your computer and use it in GitHub Desktop.
# Rules for migrating from PetitParser to PetitParser2
# Source: https://kursjan.github.io/petitparser2/migration.html + Cyril Ferlicot (https://ferlicot.fr/)
PPParser => PP2Node
asParser => asPParser
PPCompositeParser => PP2CompositeNode
isPetitFailure => isPetit2Failure
PPCompositeParserTest => PP2CompositeNodeTest
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment