Abrase
Sublime Text syntax for the Abrase language
Labels language syntax
Details
Installs
- Total 4
- Win 3
- Mac 0
- Linux 1
| Jun 23 | Jun 22 | Jun 21 | Jun 20 | Jun 19 | Jun 18 | Jun 17 | Jun 16 | Jun 15 | Jun 14 | Jun 13 | Jun 12 | Jun 11 | Jun 10 | Jun 9 | Jun 8 | Jun 7 | Jun 6 | Jun 5 | Jun 4 | Jun 3 | Jun 2 | 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 | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Windows | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 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 | 1 | 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 for Sublime Text
Syntax highlighting and a build system 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.)
Build system
Tools → Build System → Abrase, then:
- Build (
cmd+B) —abrase check; errors are clickable (parsed from theat line N, col Noutput). - Build With… (
cmd+shift+B) —Run,Run (debug)(--debug),Disasm,Explain.
Needs the abrase CLI on PATH.
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