Generative Neurosymbolic Machines