Commit f9bdfdf7 authored by Zachary Goldstein's avatar Zachary Goldstein
Browse files

updated documentation and fixed bug with native commentting shortcut

parent d7b63121
......@@ -3,7 +3,7 @@ UMASM Syntax Highlighters
Author: Zachary Goldstein (zgolds01), Tufts University
Created: 23 Apr 2020
Last Modified: 14 Nov 2020
Last Modified: 30 Nov 2020
A note from the author:
......@@ -15,18 +15,19 @@ A note from the author:
challenge, but I found that programming without UMASM specific syntax
highlighting was often frustrating.
After attempting to program in UMASM for a few hours, I decided that I
After attempting to program in UMASM for a few minutes, I decided that I
could not bring myself to work with unformatted, not-at-all-beautified,
plain-text code. Since I have a particular proclivity for productive
procrastination, I spent some time implementing a UMASM syntax highlighter
for Sublime 3.
plain-text code. Since I have a particularly profound proclivity for
productive procrastination, I spent some time implementing a UMASM syntax
highlighter for Sublime 3.
I implemented two versions:
1) The first is simpler. It will style any .ums file using a color
scheme similar to Sublime's default C highlighter.
2) The second includes additional regex that can identify and
highlight ill-formed code.
2) The second includes additional regex that will identify and
brightly highlight ill-formed code.
Since then, support has (maybe) been added for other popular text editors.
Since the implementation of the original syntax highlighter for Sublime 3,
support has (maybe) been added for other popular text editors.
\ No newline at end of file
......@@ -3,12 +3,13 @@ UMASM Improved Syntax Package
Author: Zachary Goldstein (zgolds01), Tufts University
Created: 23 Apr 2020
Last Modified: 14 Nov 2020
Last Modified: 30 Nov 2020
Purpose:
- highlight UMASM source according to grammar specification
- facilitate (relatively) painless UMASM programming
- enable use of the native Sublime 'primary+/' commenting shortcut
- highlight UMASM grammar violations to accelerate development cycle
......
......@@ -6,7 +6,7 @@
<string>Comments</string>
<key>scope</key>
<string>source</string>
<string>source.umasm-improved</string>
<key>settings</key>
<dict>
......@@ -21,7 +21,7 @@
<!-- if you want to change the default automatic
comment charafter sequence to '#' instead of
'//', swap line 17 with the following line
'//', swap line 20 with the following line
<string># </string>
-->
</dict>
......
......@@ -4,7 +4,7 @@
name: UMASM Improved
file_extensions:
- ums
scope: source
scope: source.umasm-improved
variables:
reserved: |-
......
......@@ -3,12 +3,13 @@ UMASM Syntax Package
Author: Zachary Goldstein (zgolds01), Tufts University
Created: 23 Apr 2020
Last Modified: 14 Nov 2020
Last Modified: 30 Nov 2020
Purpose:
- highlight UMASM source according to grammar specification
- facilitate (relatively) painless UMASM programming
- enable use of the native Sublime 'primary+/' commenting shortcut
Acknowledgements
......
......@@ -6,7 +6,7 @@
<string>Comments</string>
<key>scope</key>
<string>source</string>
<string>source.umasm</string>
<key>settings</key>
<dict>
......
......@@ -4,7 +4,7 @@
name: UMASM
file_extensions:
- ums
scope: source
scope: source.umasm
variables:
reserved: |-
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment