converting ops on the syntaxTree to https://codemirror.net/docs/ref/#state.ChangeSpec ?

There are certain ops in paredit (barf, slurp) that are easier to define on the AST tree (i.e. having ‘)’ advance / backtrack by one node in the AST tree.

Is there builtins that change “diffs” on the AST tree to CodeMirror Reference Manual (which appears to be what CodeMirror wants for transactions).

No, that’s not something the library provides.

1 Like

I think this ends my questions for now. I wanted to thank you for (1) patiently answering all my questions here and (2) for writing CodeMirror6 – I’m really impressed by all architectural decisions you made along the way.