First & Follow sets

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Nobody

    First & Follow sets

    Does anyone have some python code snippets for finding First() and Follow()
    sets of an LL(1) grammar handy?



    Thanks



  • Aaron Watters

    #2
    Re: First & Follow sets

    "Nobody" <user_77@hotmai l.com> wrote in message news:<7k_Ub.226 90$4X.479783@tw ister.tampabay. rr.com>...[color=blue]
    > Does anyone have some python code snippets for finding First() and Follow()
    > sets of an LL(1) grammar handy?[/color]

    Buried somewhere in kwParser I think you'll find something close
    to this, but it may not be in a form that easy to adapt (and it
    also may not be exactly what you are asking for). It's one of the
    gadfly components: http://sourceforge.net/projects/gadfly/

    -- Aaron Watters
    ===
    February is a horrible month which should be avoided whenever
    possible. [seen from a cookie program many years ago]

    Comment

    • Nobody

      #3
      Re: First &amp; Follow sets


      "Aaron Watters" <aaron@reportla b.com> wrote in message
      news:9a6d7d9d.0 402081911.27de1 7d7@posting.goo gle.com...[color=blue]
      > "Nobody" <user_77@hotmai l.com> wrote in message[/color]
      news:<7k_Ub.226 90$4X.479783@tw ister.tampabay. rr.com>...[color=blue][color=green]
      > > Does anyone have some python code snippets for finding First() and[/color][/color]
      Follow()[color=blue][color=green]
      > > sets of an LL(1) grammar handy?[/color]
      >
      > Buried somewhere in kwParser I think you'll find something close
      > to this, but it may not be in a form that easy to adapt (and it
      > also may not be exactly what you are asking for). It's one of the
      > gadfly components: http://sourceforge.net/projects/gadfly/
      >
      > -- Aaron Watters
      > ===
      > February is a horrible month which should be avoided whenever
      > possible. [seen from a cookie program many years ago]
      >[/color]


      Thanks, I'll take a look.




      Comment

      Working...