internal structure using a generator allowing to use _basic_parse with some other generator like function