Skip to content

Commit

Permalink
Moved all variable operators to one place; removed broken variable op…
Browse files Browse the repository at this point in the history
…erator leftovers
  • Loading branch information
KubeRoot committed Oct 5, 2017
1 parent 00d6c40 commit ae3c178
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions crpl.sublime-syntax
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
---
#
name: CRPL
comment: "Creeper Reverse Polish Language Syntax: version 1.0
comment: "Creeper Reverse Polish Language Syntax: version 1.1
Multiple matches were used from: https://knucklecracker.com/forums/index.php?topic=14272.0"
file_extensions: [crpl]
scope: source.crpl
Expand All @@ -13,13 +13,11 @@ contexts:
scope: comment.line.double-dash.crpl
- match: '\$\w+:(?=\S)'
scope: variable.language.crpl
- match: '(->|<-|-\?)(\w+|!)'
scope: variable.language.crpl
- match: ':\w+'
scope: entity.name.function
- match: '@\w+'
scope: support.function.crpl
- match: '(\->|<\-)'
- match: '(\-\-\?|\-\?!|\-\?|<\-!|\->!|\->|<\-|\-\-)\b'
scope: keyword.operator.crpl

- match: '(gte|gt|lte|lt|eq0|neq0|eq|neq|swap|dup2|dup|pop|ClearStack|StackSize|add|sub|mul|div|mod|abs|round|min|max|floor|ceil|sin|cos|tan|asint|acos|atan2|atan|pow|log10|ln|log|PI|E|ShortestAngle|asfloat|asin|approximately|neg|CreateList|GetListElement|SetListElement|AppendToList|PrependToList|InsertListElement|RemoveListElement|GetListCount|and|or|xor|not|AppendStackToList|f|sqrt)\b'
Expand Down

0 comments on commit ae3c178

Please sign in to comment.