Currently the raw string "DOCOL" is placed in memory where it would mean calling the native function Machine#DOCOL.
To avoid any confusion when extending the compiler, use a class or an enum instead of the string.
For example:
enum NativeCode {
DOCOL
}
...
machine.setMemoryAt(..., NativeCode.DOCOL);
...
if (memory instanceof NativeCode code && DOCOL.equals(code))
...