Adds syntax highlighting to 65816/65C816/65802/6502/65C02 files in Atom, with extra support for various compilers.
Go to file
Michael Lass 0c3e7c9e25 Fix operator regex for ACME grammar (again)
Currently, the regex causes the following error:

Uncaught Error: target of repeat operator is not specified

```
At /usr/lib/atom/node_modules/first-mate/lib/scanner.js:31

Error: target of repeat operator is not specified
    at Scanner.module.exports.Scanner.createScanner (/usr/lib/atom/node_modules/first-mate/lib/scanner.js:31:24)
    at Scanner.module.exports.Scanner.getScanner (/usr/lib/atom/node_modules/first-mate/lib/scanner.js:37:31)
    at Scanner.module.exports.Scanner.findNextMatch (/usr/lib/atom/node_modules/first-mate/lib/scanner.js:56:22)
    at Rule.module.exports.Rule.findNextMatch (/usr/lib/atom/node_modules/first-mate/lib/rule.js:98:28)
    at Rule.module.exports.Rule.getNextTags (/usr/lib/atom/node_modules/first-mate/lib/rule.js:154:21)
    at Grammar.module.exports.Grammar.tokenizeLine (/usr/lib/atom/node_modules/first-mate/lib/grammar.js:162:44)
    at TextMateLanguageMode.buildTokenizedLineForRowWithText (/usr/lib/atom/src/text-mate-language-mode.js:503:46)
    at TextMateLanguageMode.buildTokenizedLineForRow (/usr/lib/atom/src/text-mate-language-mode.js:488:17)
    at TextMateLanguageMode.tokenizeNextChunk (/usr/lib/atom/src/text-mate-language-mode.js:340:41)
    at _.defer (/usr/lib/atom/src/text-mate-language-mode.js:324:57)
    at /usr/lib/atom/node_modules/underscore/underscore.js:768:19
```

Fix the regex by applying the following modifications:
* use double backslashes to escape special characters
* insert missing * into regex

While here, also give the pattern a .acme suffix as all the other have.
2020-01-18 23:35:06 +01:00
grammars Fix operator regex for ACME grammar (again) 2020-01-18 23:35:06 +01:00
settings Fixes for depreciations. 2015-04-16 09:50:31 -07:00
snippets First commit. 2014-03-01 19:08:22 -08:00
.gitignore First commit. 2014-03-01 19:08:22 -08:00
CHANGELOG.md v10 2018-12-19 12:18:08 -08:00
LICENSE.md First commit. 2014-03-01 19:08:22 -08:00
README.md Added KickAssembler to the README 2019-11-13 06:35:47 -05:00
coffeelint.json Updated ACME grammar from GoDot 2018-06-21 10:39:19 -07:00
package.json Prepare v10.3.0 release 2019-11-13 19:37:41 -08:00

README.md

65816/65C816/65802/6502/65C02 Assembly Language Support in Atom

Adds syntax highlighting to 65816/65C816/65802/6502/65C02 files in Atom, with extra support for various compilers:

Originally converted 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.

Installation

In atom, press ctrl+shift+p and enter install package, then type language-65asm into the search bar and hit install.

OR

Run apm install language-65asm in a terminal.

To add automatic syntax highlighting to a set of file extensions, add this to your config.cson (ctrl+shift+p -> config):

"*":
  core:
    customFileTypes: {
      "source.assembly.6502.cc65": [
        "asm"
        "inc"
      ]
    }

See last line in grammar files for names.

Contributors