function $$caml_set_parser_trace(v) {
    var old = PARSER_TRACE;
    PARSER_TRACE = v;
    return old;
}
external set_trace: bool -> bool = "caml_set_parser_trace"
parsing.ml
@param {boolean}
@returns {boolean}