Nested list cross-referential preprocessing engine