Menu

Export parser

2015-07-30
2015-07-31
  • Alexis Benoist

    Alexis Benoist - 2015-07-30

    Hello,

    I'm wondering if it's possible to export a parser to use in another library.
    The use case would be to use the parser in another library, without pulling
    pyparsing as a requirement.

    Thank you in advance for your answers!
    Cheers,
    Alexis.

     
    • Paul McGuire

      Paul McGuire - 2015-07-31

      No, there really is nothing like that, to port pyparsing's parsers to other parser engines.

      If you are having problems using pyparsing because you don't have installation privileges, you could just include pyparsing's Python source in with your own project. It has a very small installation footprint - just 1 Python source file. You will just have to take on the update of pyparsing with new releases on yourself.

      If the issue is pyparsing's speed, please post some details of your parser, we may be able to help you tune things up a bit.

      -- Paul

      ---- Alexis Benoist alexisbenoist@users.sf.net wrote:

      Hello,

      I'm wondering if it's possible to export a parser to use in another library.
      The use case would be to use the parser in another library, without pulling
      pyparsing as a requirement.

      Thank you in advance for your answers!
      Cheers,
      Alexis.


      Export parser


      Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/pyparsing/discussion/337293/

      To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.