merge makeworld's updated micro syntax
Iris Lightshard nilix@nilfm.cc
1 files changed,
6 insertions(+),
2 deletions(-)
jump to
M
micro/syntax/uxn.yaml
→
micro/syntax/uxn.yaml
@@ -6,6 +6,10 @@
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]*\\ \\)" + - statement: "\\b(BRK|LIT|INC|POP|DUP|NIP|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: + start: "\\(\\ " + end: "\\ \\)" + rules: [] + - symbol: "\\[|\\]"