Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>vscode-cakemlNew to Visual Studio Code? Get it now.
vscode-cakeml

vscode-cakeml

Grant Jurgensen

|
55 installs
| (0) | Free
Language support for CakeML
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Basic syntax highlighting for CakeML.

Issues and limitations

Multi-line declarations

Multi-line declarations may fail to parse. For instance:

fun 
  foo x = 
  x

Here, foo and x are not recognized as a function name and parameter, as they would in a single-line declaration. This is a fundamental limitation of the TextMate regex engine, which only matches against one line at a time.

Tuple binders in val / datatype declarations

The following statement:

val (a, b, c) = foo

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.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft