I've had great success with this with pseudo-code from research papers. I don't always understand the syntax but the LLM has no such problems.