First & Follow sets

N

Nobody

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



Thanks
 
A

Aaron Watters

Nobody said:
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]
 
N

Nobody

Aaron Watters said:
"Nobody" <[email protected]> wrote in message
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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,176
Messages
2,570,950
Members
47,503
Latest member
supremedee

Latest Threads

Top