Basic syntax highlighting for CakeML. Issues and limitationsMulti-line declarationsMulti-line declarations may fail to parse. For instance:
Here, Tuple binders in val / datatype declarationsThe following statement:
fails to parse correctly, because the grammar cannot handle variable-length tuples. While the corresponding regex matches fine, only the last of the repeated capture group within the tuple is correctly assigned a token name. |