I can define and eval BNF definitions

This commit is contained in:
2019-12-17 21:19:44 +01:00
parent c668cc46d2
commit 88cd3162be
25 changed files with 1099 additions and 569 deletions
+4
View File
@@ -15,6 +15,10 @@ log = logging.getLogger(__name__)
class PythonEvaluator(OneReturnValueEvaluator):
NAME = "Python"
"""
Evaluate a Python node, ie, evaluate some Python code
"""
def __init__(self):
super().__init__(self.NAME, 50)