gencode: support pseudocode