9 Commits

Author SHA1 Message Date
db04e4f13b Prepare 4.0.0 release 2016-07-20 09:25:55 -07:00
80c13409ea Merge pull request #5 from NewLunarFire/master
Add INA Fix Issue #3
2016-07-19 16:48:37 -07:00
13f4c11d05 Added ina to WLA-DX grammar 2016-07-19 18:01:02 -04:00
d98637d01c Revert "Add ina Fix Issue #3"
This reverts commit f1bce28b1d.
2016-07-19 18:00:35 -04:00
f1bce28b1d Add ina Fix Issue #3 2016-07-18 19:22:47 -04:00
77ae562e5e Prepare 3.0.0 release 2016-05-18 14:09:26 -07:00
bba978ab41 Add Contributors to README 2016-05-18 14:08:33 -07:00
c02de139a1 Merge pull request #2 from MattTuttle/master
Fixed label highlighting and added a few things (CA65)
2016-05-18 14:03:06 -07:00
5a713ff273 Improving constant numeric values and fixed label highlighting 2016-05-17 09:43:25 -05:00
4 changed files with 15 additions and 11 deletions

View File

@ -19,3 +19,7 @@ from the various other TextMate bundles:
Contributions are greatly appreciated! Please fork this repository and open a
pull request to add snippets, make grammar tweaks, etc.
# Contributors
- [Matt Tuttle](https://github.com/MattTuttle)

View File

@ -1,6 +1,6 @@
'fileTypes': []
'foldingStartMarker': '/\\*\\*|\\{\\s*$'
'foldingStopMarker': '\\*\\*/|^\\s*\\}'
'fileTypes': [
's'
]
'name': '6502 Assembly (cc65)'
'patterns': [
{
@ -19,11 +19,7 @@
'include': '#M65816_alias'
}
{
'begin': '(;)'
'beginCaptures':
'1':
'name': 'punctuation.definition.comment'
'end': '\\n'
'match': ';.*$'
'name': 'comment.line.semicolon'
}
{
@ -37,6 +33,10 @@
'name': 'punctuation.definition.string.end'
'name': 'string.quoted.double.assembly'
}
{
'match': '\\#(\'.\'|[^\\s\']+)'
'name': 'constant.numeric.hex'
}
{
'match': '\\$[A-Fa-f0-9]+'
'name': 'constant.numeric.hex'
@ -54,7 +54,7 @@
'name': 'constant.numeric.decimal'
}
{
'match': '^[A-Za-z_][A-Za-z0-9_]:*'
'match': '^[A-Za-z_][A-Za-z0-9_]*:'
'name': 'variable.other.readwrite.assembly' # 'entity.name.label'
}
{

View File

@ -75,7 +75,7 @@
]
'repository':
'M6502':
'match': '\\b(?i: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)\\b'
'match': '\\b(?i:ADC|AND|ASL|BCC|BCS|BEQ|BIT|BMI|BNE|BPL|BRK|BVC|BVS|CLC|CLD|CLI|CLV|CMP|CPX|CPY|DEC|DEX|DEY|EOR|INA|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)\\b'
'name': 'keyword.mnemonic.6502'
'M65816':
'match': '\\b(?i:BRL|COP|JML|JSL|MVN|MVP|PEA|PEI|PER|PHB|PHD|PHK|PLB|PLD|REP|RTL|SEP|TCD|TCS|TDC|TSC|TXY|TYX|WDM|XBA|XCE)\\b'

View File

@ -1,6 +1,6 @@
{
"name": "language-65asm",
"version": "2.0.0",
"version": "4.0.0",
"description": "Adds syntax highlighting to 65816/65C816/65802/6502/65C02 files in Atom, with extra support for various compilers.",
"repository": "https://github.com/MatthewCallis/language-65asm",
"license": "MIT",