Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
lemonorangeapple authored Dec 14, 2023
1 parent 7b9d736 commit 2308ff9
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 0 deletions.
3 changes: 3 additions & 0 deletions JunLang.sublime-build
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"shell_cmd": "junlang ${file}"
}
28 changes: 28 additions & 0 deletions JunLang.sublime-syntax
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
%YAML 1.2
---
name: JunLang
scope: source.junlang

file_extensions:
- jun
- junlang

contexts:
main:
- 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'
scope: keyword.control
- match: 'note'
push: note
- match: '"'
push: string
string:
- meta_scope: string.quoted.double
- match: '"'
scope: string.quoted.double
pop: true
- match: \\.
scope: constant.character.escape
note:
- meta_scope: comment.line
- match: '\n'
pop: true

0 comments on commit 2308ff9

Please sign in to comment.