From 617f67ecb5758a4fdb54cc482d65ad9a374a316b Mon Sep 17 00:00:00 2001 From: Mattias Hansson Date: Mon, 26 Jan 2026 20:37:48 +0100 Subject: [PATCH] Added kate editor syntaxes to project --- README.md | 5 + editor_syntaxes/kate/acme.xml | 266 +++++++++++++++++++++++++++++++++ editor_syntaxes/kate/c65cm.xml | 192 ++++++++++++++++++++++++ 3 files changed, 463 insertions(+) create mode 100644 editor_syntaxes/kate/acme.xml create mode 100644 editor_syntaxes/kate/c65cm.xml diff --git a/README.md b/README.md index 3c5c034..cb2c36e 100644 --- a/README.md +++ b/README.md @@ -89,6 +89,11 @@ See the `examples/` directory for sample programs: - `syntax.md` - Syntax guide - `commands.md` - Command reference +## Editor Syntaxes + +- Kate: copy XML to ~/.local/share/org.kde.syntax-highlighting/syntax/ +- Sublime: copy .sublime-syntax to Packages/User/ + ## License Copyright (C) 1999, 2025 Mattias Hansson diff --git a/editor_syntaxes/kate/acme.xml b/editor_syntaxes/kate/acme.xml new file mode 100644 index 0000000..a2e12b9 --- /dev/null +++ b/editor_syntaxes/kate/acme.xml @@ -0,0 +1,266 @@ + + + + + + adc + and + asl + bit + clc + cld + cli + clv + cmp + cpx + cpy + dec + dex + dey + eor + inc + inx + iny + lda + ldx + ldy + lsr + nop + ora + pha + php + pla + plp + phx + phy + plx + ply + rol + ror + sbc + sec + sed + sei + sta + stx + stz + sty + tax + txa + tay + tya + tsx + txs + trb + tsb + bbr + bbs + rmb + smb + stp + wat + + + + aac + aax + alr + anc + ane + arr + aso + asr + atx + axa + axs + dcm + dcp + dop + hlt + ins + isb + isc + jam + kil + lae + lar + las + lax + lse + lxa + oal + rla + rra + sax + sbx + skb + sha + shs + say + shx + shy + slo + skw + sre + sxa + sya + tas + top + xaa + xas + + + + bcc + bcs + beq + bmi + bne + bra + bpl + brk + bvc + bvs + jmp + jsr + rti + rts + + + + BLACK + WHITE + RED + CYAN + PURPLE + GREEN + BLUE + YELLOW + ORANGE + BROWN + LIGHT_RED + DARK_GRAY + GRAY + DARK_GREY + GREY + LIGHT_GREEN + LIGHT_BLUE + LIGHT_GRAY + LIGHT_GREY + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/editor_syntaxes/kate/c65cm.xml b/editor_syntaxes/kate/c65cm.xml new file mode 100644 index 0000000..010100f --- /dev/null +++ b/editor_syntaxes/kate/c65cm.xml @@ -0,0 +1,192 @@ + + + + + + ADD + AND + AS + ASM + BREAK + BYTE + CALL + CASE + CONST + DEC + DECREMENT + DEFAULT + DO + ELSE + ENDASM + ENDIF + ENDSCRIPT + ENDSWITCH + EXIT + FEND + FOR + FUNC + GOSUB + GOTO + IF + INC + INCREMENT + LABEL + LET + NEXT + OR + ORIGIN + PASSING + PEEK + PEEKW + POINTER + POKE + POKEW + SCRIPT + STEP + SUBEND + SUBTRACT + SWITCH + THEN + TO + WHILE + WITH + WEND + WORD + XOR + + + + ACC + XREG + YREG + + + + adc + and + asl + bcc + bcs + beq + bit + bmi + bne + bpl + brk + bvc + bvs + clc + cld + cli + clv + cmp + cpx + cpy + dec + dex + dey + eor + inc + inx + iny + jmp + jsr + lda + ldx + ldy + lsr + nop + ora + pha + php + pla + plp + rol + ror + rti + rts + sbc + sec + sed + sei + sta + stx + sty + tax + tay + tsx + txa + txs + tya + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +