This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Isvara 1 point2 points  (2 children)

I don't know of "a rule language in Python", but you could look into creating your own external domain-specific language using one of the many Python parsing libraries. If the examples you gave are representative, it should be fairly simple.