Skip to content

Commit 640c703

Browse files
sublimetext-syntax
1 parent daf837d commit 640c703

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

JunLang.sublime-syntax

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
%YAML 1.2
2+
---
3+
name: JunLang
4+
scope: source.junlang
5+
6+
file_extensions:
7+
- jun
8+
9+
contexts:
10+
main:
11+
- match: '\b(output|wrap|new|set|input|addition|subtraction|multiplication|division|equal|greater|less|equal_or_greater|equal_or_less|not|if|end-if|loop|end-loop)\b'
12+
scope: keyword.control
13+
- match: 'note'
14+
push: note
15+
- match: '"'
16+
push: string
17+
string:
18+
- meta_scope: string.quoted.double
19+
- match: '"'
20+
scope: string.quoted.double
21+
pop: true
22+
- match: \\.
23+
scope: constant.character.escape
24+
note:
25+
- meta_scope: comment.line
26+
- match: '\n'
27+
pop: true

0 commit comments

Comments
 (0)