Re: CFG Python

2017-12-30 Thread Ben Finney
Peter Otten <__pete...@web.de> writes: > > Let's say I vreated my own CFG in python, How can I […] > > Remember, context free grammars may be fine, but context free > questions aren't ;) +1 QotW -- \“The problem with television is that the people must sit and | `\keep their eyes

Re: CFG Python

2017-12-30 Thread Peter Otten
Ranya wrote: > Let's say I vreated my own CFG in python, How can I check now if a > sentence match this grammar (return true) or it doesn't match it (return > false and the wrong element in the grammar), How can I do this ? Remember, context free grammars may be fine, but context free questions

CFG Python

2017-12-30 Thread Ranya
Let's say I vreated my own CFG in python, How can I check now if a sentence match this grammar (return true) or it doesn't match it (return false and the wrong element in the grammar), How can I do this ? -- https://mail.python.org/mailman/listinfo/python-list