|
|
|
|
|
by urs2102
3834 days ago
|
|
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's the OCaml file below: https://github.com/udaysinghcode/superscript/blob/master/src... |
|