Skip to content

Instantly share code, notes, and snippets.

@patrickod
Last active February 5, 2022 00:28
Show Gist options
  • Save patrickod/040dc9f0441aad82c86dddf2bba87282 to your computer and use it in GitHub Desktop.
Save patrickod/040dc9f0441aad82c86dddf2bba87282 to your computer and use it in GitHub Desktop.
`.polar` syntax highlighting in JetBrains-based IDEs
  1. create a new custom language type with the extension .polar custom polar language type
  2. use the following list of reserved keywords (section 1)
and
cut
forall
if
in
matches
not
or
new
  1. in section 2 the following list of operators
<
>
<=
>=
!=
*
+
-
/
:=
=
==
mod
rem
  1. and the following list of functions (section 3)
print
debug
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment