addressalign-toparrow-leftarrow-rightbackbellblockcalendarcameraccwchatcheckchevron-downchevron-leftchevron-rightchevron-small-downchevron-small-leftchevron-small-rightchevron-small-upchevron-upcircle-with-checkcircle-with-crosscircle-with-pluscrosseditemptyheartexportfacebookfolderfullheartglobegmailgoogleimageimagesinstagramlinklocation-pinmagnifying-glassmailminusmoremuplabelShape 3 + Rectangle 1outlookpersonplusprice-ribbonImported LayersImported LayersImported Layersshieldstartickettrashtriangle-downtriangle-uptwitteruseryahoo

Re: [PhillyPUG] Grammar in python

From: user 1.
Sent on: Thursday, November 18, 2010 4:05 PM
All good. I'll check it out. I've done stuff with flex and yacc but it
was a lifetime ago and I'm sure I've forgotten all the details. This
is as much a chance to go experiment as it is about getting things
done. This purely for the lulz at this point.

On Thu, Nov 18, 2010 at 3:44 PM, Andrew Gwozdziewycz <[address removed]> wrote:
> That should have said, "Personally, I'd try"
>
> On Thu, Nov 18, 2010 at 3:44 PM, Andrew Gwozdziewycz <[address removed]>
> wrote:
>>
>> Personally, try and use the packrat parsing library, pyparsing, if
>> possible:��http://pyparsing....­
>> Though, if you're already familiar with (f)lex and yacc/bison, then Spark
>> might be appropriate
>> On Thu, Nov 18, 2010 at 2:33 PM, Jason Stelzer <[address removed]>
>> wrote:
>>>
>>> Cool. I'll let you know how the ircbot progresses. :)
>>>
>>> On Thu, Nov 18, 2010 at 2:05 PM, Tom Panzarella <[address removed]>
>>> wrote:
>>> > J-
>>> >
>>> > I'm not familiar with those tools, sorry. However, if you get something
>>> > working with those, I'd be interested in learning more.
>>> >
>>> > -Tom.
>>> >
>>> > On Nov 18, 2010, at 12:38 PM, Jason Stelzer wrote:
>>> >
>>> >> I'm doing some stuff that I think lends itself more to a grammar than
>>> >> regular expressions.
>>> >>
>>> >> I have never tried to create a grammar for a program in python. Has
>>> >> anyone used SimpleParse ��or SPARK?
>>> >>
>>> >> I think a pluggable grammar in my app will help make it easier to
>>> >> support parsing wiki pages vs IRC chatter vs xmlrpc jira data. If I
>>> >> create a couple stub apps that know how to collect data from different
>>> >> sources, then at it's core I'll just be dealing with input streams. At
>>> >> that point, a parser to scan and tokenize the input streams makes it
>>> >> easier to share across applications.
>>> >>
>>> >> --
>>> >> J.
>>> >>
>>> >>
>>> >>
>>> >> --
>>> >> Please Note: If you hit "REPLY", your message will be sent to everyone
>>> >> on this mailing list ([address removed])
>>> >> http://www.meetup...­
>>> >> This message was sent by Jason Stelzer ([address removed]) from
>>> >> The Philadelphia Python Users Group (PhillyPUG).
>>> >> To learn more about Jason Stelzer, visit his/her member profile:
>>> >> http://www.meetup...­
>>> >> To unsubscribe or to update your mailing list settings, click here:
>>> >> http://www.meetup...­
>>> >> Meetup, PO Box 4668 #37895 New York, New York[masked] |
>>> >> [address removed]
>>> >>
>>> >
>>> >
>>> >
>>> >
>>> > --
>>> > Please Note: If you hit "REPLY", your message will be sent to everyone
>>> > on this mailing list ([address removed])
>>> > http://www.meetup...­
>>> > This message was sent by Tom Panzarella ([address removed]) from
>>> > The Philadelphia Python Users Group (PhillyPUG).
>>> > To learn more about Tom Panzarella, visit his/her member profile:
>>> > http://www.meetup...­
>>> > To unsubscribe or to update your mailing list settings, click here:
>>> > http://www.meetup...­
>>> > Meetup, PO Box 4668 #37895 New York, New York[masked] |
>>> > [address removed]
>>> >
>>> >
>>>
>>>
>>>
>>> --
>>> J.
>>>
>>>
>>>
>>> --
>>> Please Note: If you hit "REPLY", your message will be sent to everyone on
>>> this mailing list ([address removed])
>>> http://www.meetup...­
>>> This message was sent by Jason Stelzer ([address removed]) from The
>>> Philadelphia Python Users Group (PhillyPUG).
>>> To learn more about Jason Stelzer, visit his/her member profile:
>>> http://www.meetup...­
>>> To unsubscribe or to update your mailing list settings, click here:
>>> http://www.meetup...­
>>> Meetup, PO Box 4668 #37895 New York, New York[masked] |
>>> [address removed]
>>>
>>
>>
>>
>> --
>> http://www.apgwoz...­
>
>
>
> --
> http://www.apgwoz...­
>
>
>
>
> --
> Please Note: If you hit "REPLY", your message will be sent to everyone on
> this mailing list ([address removed])
> This message was sent by Andrew Gwozdziewycz ([address removed]) from The
> Philadelphia Python Users Group (PhillyPUG).
> To learn more about Andrew Gwozdziewycz, visit his/her member profile
> To unsubscribe or to update your mailing list settings, click here
>
> Meetup, PO Box 4668 #37895 New York, New York[masked] |
> [address removed]



-- 
J.

Our Sponsors

People in this
Meetup are also in:

Sign up

Meetup members, Log in

By clicking "Sign up" or "Sign up using Facebook", you confirm that you accept our Terms of Service & Privacy Policy