Refactor compiles, but still missing recursion in the parser for ntuples