Skip to content

Commit e71fe6d

Browse files
committed
updated to 1.0.1
1 parent dc2de4f commit e71fe6d

File tree

3 files changed

+17
-7
lines changed

3 files changed

+17
-7
lines changed

README.md

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,56 +11,64 @@ After downloading, do the following steps:
1111
"editor.tokenColorCustomizations": {
1212
"textMateRules": [
1313
{
14+
// comments (ie ; ...)
1415
"scope": "asm.comment",
1516
"settings": {
1617
"foreground": "#666666",
1718
"fontStyle": "italic"
1819
}
1920
},
2021
{
21-
// registers
22+
// registers (ie $X)
2223
"scope": "asm.register",
2324
"settings": {
2425
"foreground": "#d4975e",
2526
}
2627
},
2728
{
29+
// the four operations (ie add, sub, mult[u], div[u], mflo, mfhi)
2830
"scope": "asm.operation",
2931
"settings": {
3032
"foreground": "#67e6df",
3133
}
3234
},
3335
{
36+
// literals (lis, .word)
3437
"scope": "asm.literal",
3538
"settings": {
3639
"foreground": "#67a2e6",
3740
}
3841
},
3942
{
43+
// load and store (lw, sw)
4044
"scope": "asm.loadstore",
4145
"settings": {
4246
"foreground": "#a5e791",
4347
}
4448
},
4549
{
50+
// set less than (slt, sltu)
4651
"scope": "asm.setless",
4752
"settings": {
4853
"foreground": "#67e6df",
4954
}
5055
},
5156
{
57+
// branching (beq, bne)
5258
"scope": "asm.branch",
5359
"settings": {
5460
"foreground": "#67e6df",
5561
}
5662
},
5763
{
64+
// jumping (jr, jalr)
5865
"scope": "asm.jump",
5966
"settings": {
6067
"foreground": "#67e6df",
6168
}
6269
},
6370
{
71+
// constants (ie numbers)
6472
"scope": "asm.constant",
6573
"settings": {
6674
"foreground": "#dd6bd4",
@@ -83,6 +91,8 @@ This activates the color scheme. You can also customize the colors if you want.
8391
## Version History
8492

8593
### 1.0.0
86-
8794
Initial release
8895

96+
### 1.0.1
97+
Edited `package.json` and `README.md` to increase clarity
98+

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
22
"name": "cs241-syntax-highlighting",
3-
"displayName": "CS241 Syntax Highlighting",
4-
"description": "Syntax highlighting for CS241",
5-
"version": "1.0.0",
3+
"displayName": "CS241 MIPS Syntax Highlighting",
4+
"description": "A VSCode extension for MIPS syntax highlighting for the University of Waterloo's CS241 course.",
5+
"version": "1.0.1",
66
"engines": {
77
"vscode": "^1.63.0"
88
},

syntaxes/asm.tmLanguage.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,15 +17,15 @@
1717
},
1818
{
1919
"name": "asm.operation",
20-
"match": "add|sub|mult|multu|div|divu"
20+
"match": "add|sub|multu|mult|divu|div|mflo|mfhi"
2121
},
2222
{
2323
"name": "asm.loadstore",
2424
"match": "lw|sw"
2525
},
2626
{
2727
"name": "asm.setless",
28-
"match": "slt|sltu"
28+
"match": "sltu|slt"
2929
},
3030
{
3131
"name": "asm.branch",

0 commit comments

Comments
 (0)