Currently the Parser is using a recursive strategy to build the ParseTree. When the parsing hierarchy gets deeper it will become very memory intensive. A more robust strategy could be a Pushdown Automaton(PDA) which uses a stack to manage the parsing hierarchy.
Currently the Parser is using a recursive strategy to build the ParseTree. When the parsing hierarchy gets deeper it will become very memory intensive. A more robust strategy could be a Pushdown Automaton(PDA) which uses a stack to manage the parsing hierarchy.