feat: pres

This commit is contained in:
Henri Saudubray 2025-05-21 14:58:14 +02:00
parent 76dc461d44
commit 54801d18f0
Signed by: hms
GPG key ID: 7065F57ED8856128
4 changed files with 989 additions and 0 deletions

36
doc/zelus.sublime-syntax Normal file
View file

@ -0,0 +1,36 @@
%YAML 1.2
---
name: Zelus
file_extensions: [zls, zli]
scope: source
contexts:
main:
- match: \b(let|in|where|rec|and|local)\b
scope: keyword.control
- match: \b(if|then|else)\b
scope: keyword.control.conditional
- match: \b(hybrid|node)\b
scope: keyword.control
- match: \b(up|assert|der|init|reset|last)\b
scope: entity.name.constant
- match: '"'
push: string
- match: \(\*
push: comment
string:
- meta_scope: string.quoted.double
- match: \\.
scope: constant.character.escape
- match: '"'
pop: true
comment:
- meta_scope: comment
- match: \*\)
pop: true