Ceasar / grammar

MIT License
0 stars 0 forks source link

Transform Grammars into Languages, and make them implement Set interface #1

Open Ceasar opened 10 years ago

Ceasar commented 10 years ago

In particular, G.recognizes(s) should become s in L.

This also will make the set operations, complement and union, more sensible.

Ceasar commented 10 years ago

Along with this change, we could make a generator function (though it might be slow). Something like for s in L: ...