mirror of
https://github.com/MatthewCallis/language-65asm.git
synced 2025-02-16 13:30:48 +00:00
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.
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:
- ACME Crossassembler
- Asar SNES Assembler
- ASM6f (support for NES emulator Mesen)
- cc65 (SNES Syntax: 65816, SPC700, SuperFX)
- DASM (6502)
- EDASM
- Merlin
- MPW IIgs Assembler
- NinjaForce Assembler
- ORCA/M
- WLA-DX
- WTCTools by Western Design Center
- Kick Assembler
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
Languages
CSON
100%