apl mode for codemirror