Merge branch 'ksatrya'
Iris Lightshard nilix@nilfm.cc
4 files changed,
19 insertions(+),
0 deletions(-)
A
micro/bindings.json
@@ -0,0 +1,8 @@
+{ + "Alt-/": "lua:comment.comment", + "Alt-a": "lua:snippets.Accept", + "Alt-d": "lua:snippets.Cancel", + "Alt-s": "lua:snippets.Insert", + "Alt-w": "lua:snippets.Next", + "CtrlUnderscore": "lua:comment.comment" +}
A
micro/syntax/uxn.yaml
@@ -0,0 +1,11 @@
+filetype: uxntal + +detect: + filename: "\\.tal$" + +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]?\\b" + - comment: "\\([\\S\\s]*\\)" + - symbol: "\\[|\\]"