zeroSteiner / rule-engine

A lightweight, optionally typed expression language with a custom grammar for matching arbitrary Python objects.
https://zerosteiner.github.io/rule-engine/
BSD 3-Clause "New" or "Revised" License
455 stars 54 forks source link

Feature request: Support for python-style comments #44

Closed gwtwod closed 1 year ago

gwtwod commented 2 years ago

Would you be willing to add support for python-style comments inside rules? If it's not a too complex change :1st_place_medal:

zeroSteiner commented 1 year ago

I started on v3.6 with this as the first feature. It wasn't too difficult to implement and all of the unit tests are passing but I'd like to test it a bit more thoroughly.