Another way to approach it is to drop markers using a preprocessor after indentation. A group of friends and I were hacking on something similar and were trying to allow Lisp syntax sans parentheses. We created a preprocessor that would wrap indented child lines with the appropriate parentheses. Here&#x27;s the OCaml file below:<p><a href="https:&#x2F;&#x2F;github.com&#x2F;udaysinghcode&#x2F;superscript&#x2F;blob&#x2F;master&#x2F;src&#x2F;preprocessor.mll" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;udaysinghcode&#x2F;superscript&#x2F;blob&#x2F;master&#x2F;src...</a>