ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Abrase

by KHN190 ST3 New

Sublime Text syntax for the Abrase language

Details

Installs

  • Total 0
  • Win 0
  • Mac 0
  • Linux 0
Jun 1 May 31 May 30 May 29 May 28 May 27 May 26 May 25 May 24 May 23 May 22 May 21 May 20 May 19 May 18 May 17 May 16 May 15 May 14 May 13 May 12 May 11 May 10 May 9 May 8 May 7 May 6 May 5 May 4 May 3 May 2 May 1 Apr 30 Apr 29 Apr 28 Apr 27 Apr 26 Apr 25 Apr 24 Apr 23 Apr 22 Apr 21 Apr 20 Apr 19 Apr 18
Windows 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Mac 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Linux 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

Readme

Source
raw.​githubusercontent.​com

Abrase syntax for Sublime Text

Syntax highlighting for the Abrase language (.abe).

Install

Package Control

In Sublime Text, cmd + P, search for Abrase.

Manual

git clone https://github.com/KHN190/Abrase-sublime \
  "$HOME/Library/Application Support/Sublime Text/Packages/Abrase"

(Adjust path for Linux / Windows. Restart Sublime Text.)

Coverage

  • // line and /* */ block comments
  • string literals with {expr} interpolation, char literals, escape sequences
  • decimal / hex / binary integer and float literals
  • all keywords: handle, resume, throw, region, exn, return, use, static, op, alias, effect, …
  • attributes: @derive, @export, @copy, @move, @share, …
  • builtin types (Int, Float, Bool, String, Unit, Char)
  • capitalized identifiers as types / variant constructors
  • declaration name highlighting for fn, type, effect, trait
  • operators: arithmetic, comparison, logical, bitwise (^, <<, >>), range (.., ..=), :: path separator

License

MIT