all repos — dotfiles @ c6d84e530b6031df7af277557592bd8e5d99ea5b

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:
  - identifier: "[@,;.&][^\ \n\r]+"
  - constant: "[\"#'|$][^\ \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: "\\[|\\]"