Open
Description
Is your feature request related to a problem? Please describe.
When using ocamlformat with BER MetaOCaml sources, the bracket syntax is expanded to the corresponding attributes. For example:
let _ = .<1>.
expands to
let _ = (1 [@metaocaml.bracket])
Describe the solution you'd like
I guess we could argue that BER MetaOCaml is a "dialect" of OCaml and the fix doesn't belong in ocamlformat. However, it would be great if it was supported. Concretely, the bracket syntax (both bracket .<expr>.
and escape .~(expr)
) should be kept as is.
Additional context
none