At bpmn.io we believe in good editor tooling to help you edit XML that is the exchange format for DMN, and BPMN (the standards). Hence we created dmn-js, a versatile editor that allows you to create and edit DMN files.
I believe that is the abstraction that you need? I’m not sure if editing via text / code would work conveniently for larger DMN tables or decision requirement graphs.