From: rs <> Date: Fri, 12 Sep 2025 22:34:43 +0000 (-0500) Subject: Initial commit X-Git-Url: https://git.the-white-hart.net/?a=commitdiff_plain;h=refs%2Fheads%2Fmain;p=atmega%2Fasm_highlighting.git Initial commit --- c439a90925f9793b8d623e3f4976c1f10ba5ca14 diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..de0f63a --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2023 Ryan Schuster + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/README.md b/README.md new file mode 100644 index 0000000..df6df25 --- /dev/null +++ b/README.md @@ -0,0 +1,12 @@ +# asm_highlighting +Gtksourceview syntax highlighting for AVR assembly + +To install: +```bash +sudo cp avr.lang /usr/share/gtksourceview-4/language-specs/ +``` + +## References + +[Language spec tutorial](https://developer-old.gnome.org/gtksourceview/4.2/lang-tutorial.html) +[Language spec reference](https://developer-old.gnome.org/gtksourceview/4.2/lang-reference.html) diff --git a/avr.lang b/avr.lang new file mode 100644 index 0000000..9395c53 --- /dev/null +++ b/avr.lang @@ -0,0 +1,1303 @@ + + + + + text/plain + *.asm + ; + + + + + +