[KDB+/Q]: Deparse q parse tree into q expression (string)
问题 Let's define deparse 1 as inverse operation to q's native parse , so that the following holds: q)aStringQExpression~deparse parse aStringQExpression 1b Question What's the definition of deparse function so that the above indeed works? For example, in the below update expression, we know that "a*0^b+c-d" expression corresponds to (*;`a;(^;0;(+;`b;(-;`c;`d)))) parse tree: q)-3!parse "update col:a*0^b+c-d from t" "(!;`t;();0b;(,`col)!,(*;`a;(^;0;(+;`b;(-;`c;`d)))))" So the envisaged deparse