echo "The matched sub tree is the following:" echo mysym.lispRepr ... Just try it out with this example: let ast = quote do: abc def ghi jkl ast.matchAst: of nnkStmtList( `a`, `b`, `c`): echo "the ...