ESP32 is way better than a PCW 1512, with dual core and network capabilities.
Any programming language available for MS-DOS back in the PCW 1512 is doable in a ESP32.
Programming can be low-level like we used to do in Assembly, or high level Turbo Basic, Turbo Pascal, Modula-2, C, C++ style.