Abrase
Sublime Text syntax for the Abrase language
Labels language syntax
Details
Installs
- Total 18
- Win 8
- Mac 5
- Linux 5
| Aug 30 | Aug 29 | Aug 28 | Aug 27 | Aug 26 | Aug 25 | Aug 24 | Aug 23 | Aug 22 | Aug 21 | Aug 20 | Aug 19 | Aug 18 | Aug 17 | Aug 16 | Aug 15 | Aug 14 | Aug 13 | Aug 12 | Aug 11 | Aug 10 | Aug 9 | Aug 8 | Aug 7 | Aug 6 | Aug 5 | Aug 4 | Aug 3 | Aug 2 | Aug 1 | Jul 31 | Jul 30 | Jul 29 | Jul 28 | Jul 27 | Jul 26 | Jul 25 | Jul 24 | Jul 23 | Jul 22 | Jul 21 | Jul 20 | Jul 19 | Jul 18 | Jul 17 | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Windows | 0 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
| Mac | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 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 | 1 | 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 | 1 | 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