> just inspect which tokens are seen and directly construct AST nodes
I'll repeat myself: this is not possible because you need to recursively construct the nodes (how else would you get a tree...).
I'll repeat myself: this is not possible because you need to recursively construct the nodes (how else would you get a tree...).