all repos — dotfiles @ 5bd49afc24ec7a2935a0adfb4c5ca22daea02dc5

random configuration files

micro/syntax/uxn.yaml (raw)

1
2
3
4
5
6
7
8
9
10
11
filetype: uxntal

detect:
  filename: "\\.(tal|uxn|uxntal)$"

rules:
  - constant: "[\"#'|$][^\ \n\r]+"
  - identifier: "[@,;.&][^\ \n\r]+"
  - statement: "\\b(BRK|LIT|NOP|POP|DUP|SWP|OVR|ROT|EQU|NEQ|GTH|LTH|JMP|JCN|JSR|STH|LDZ|STZ|LDR|STR|LDA|STA|DEI|DEO|ADD|SUB|MUL|DIV|AND|ORA|EOR|SFT)[2rk]{0,3}\\b"
  - comment: "\\([\\S\\s]*\\)"
  - symbol: "\\[|\\]"