By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,272 Members | 1,733 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,272 IT Pros & Developers. It's quick & easy.

First & Follow sets

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

Thanks

Jul 18 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
"Nobody" <us*****@hotmail.com> wrote in message news:<7k*******************@twister.tampabay.rr.co m>...
Does anyone have some python code snippets for finding First() and Follow()
sets of an LL(1) grammar handy?


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]
Jul 18 '05 #2

P: n/a

"Aaron Watters" <aa***@reportlab.com> wrote in message
news:9a**************************@posting.google.c om...
"Nobody" <us*****@hotmail.com> wrote in message

news:<7k*******************@twister.tampabay.rr.co m>...
Does anyone have some python code snippets for finding First() and Follow() sets of an LL(1) grammar handy?


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]

Thanks, I'll take a look.


Jul 18 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.