I don't have a mac running MacOS 13 to test with, but looks like it may be the zsh issue in Cosmopolitan. You can try executing it under "sh" or "bash":
% sh ./lilt-1.19.com range 10 (0,1,2,3,4,5,6,7,8,9) %
Alternatively, it's reasonably straightforward to build Lilt from source on MacOS. Assuming you have a C compiler installed, after cloning the repository:
% make lilt
I think I'm going to bundle future releases of APE-Lilt with a readme.