12.8.2021, 9:00 - 11:00: Due to updates GitLab may be unavailable for some minutes between 09:00 and 11:00.

  • Eckhart Arnold's avatar
    - transform.py: syntax-tree traversal now passes not only the current node but... · 3a0790e5
    Eckhart Arnold authored
    - transform.py: syntax-tree traversal now passes not only the current node but the complete context (i.e. list of all parent nodes) to the transformation function.
    - similarly parser.Compiler now stores the context (i.e. list of all parent nodes) in self.context.
    - more documentation for parser.Compiler, parser.Parser and parser.Grammar
    3a0790e5
syntaxtree.py 19 KB