Text this: All-optical combinational logical units featuring fifth-order cascade