Commit Graph

43 Commits

Author SHA1 Message Date
Matthew Callis e387111185
Merge pull request #19 from ProbablyNotArtyom/master
Various fixes for the Kick Assembler grammar
2021-02-08 15:03:58 -08:00
ProbablyNotArtyom ca009b986b Various regex fixes for the Kick Assembler grammar
* Removed all remaining references to the 'merlin' grammar
 * Labels with trailing numbers are now detected as labels
 * Branches to positional labels are detected properly now
2020-10-01 04:25:08 -04:00
Hoyt Summers Pittman aa5faf999f
Fix typo in cc65-toolchain.cson 2020-07-11 13:49:39 -04:00
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
ProbablyNotArtyom 707b9c8bd3 Added KickAssembler grammar 2019-11-13 06:32:10 -05:00
Matthew Callis a198b529b7
Fix bug in Acme grammar with arithmetic operators 2019-08-29 15:50:55 -07:00
Georg Ziegler 2578cfb4e3 Refactor and add file extension 2018-10-19 16:27:18 +02:00
Georg Ziegler dafc148662 Add missing operators and illegal opcodes 2018-10-19 16:21:04 +02:00
Georg Ziegler 1cbcd550e1 Add support for asm6 assembler 2018-10-19 16:14:05 +02:00
Matthew Callis b4a88e0a42
Updated ACME grammar from GoDot 2018-06-21 10:39:19 -07:00
Georg Ziegler d7c010e8aa Add SPC-700 and SuperFX opcodes 2018-06-21 06:40:54 +02:00
Georg Ziegler 194a96a3cd Add missing keyword 2018-06-12 17:22:39 +02:00
Georg Ziegler bc4ce09e84 Add asar support 2018-06-12 09:51:53 +02:00
Georg Ziegler 1e605edeb4 Add missing commands, opcodes, constants 2018-06-12 07:55:37 +02:00
Georg Ziegler b23fafac4a Improve cc65 support with new grammar for linker config files 2018-06-12 07:02:05 +02:00
Georg Ziegler eefb3ddffa Remove duplicate files 2018-06-08 03:31:19 +02:00
Georg Ziegler 3394902046 Merge branch 'merlin' 2018-06-08 02:58:45 +02:00
Georg Ziegler 1687bd1b93 Improve Merlin grammar 2018-06-08 02:57:54 +02:00
Georg Ziegler 1ce19430cf Fix DASM grammar 2018-06-07 20:54:11 +02:00
Georg Ziegler 42530f66bc DASM: Add opcodes and comments 2018-06-07 18:24:53 +02:00
Georg Ziegler 28079336e1 Fix hex numbers with suffix 'h' 2018-06-07 17:15:47 +02:00
Georg Ziegler 10e34aca94 New files for Merlin grammar 2018-06-07 16:39:14 +02:00
Georg Ziegler f2a593e26d Remove duplicate DASM 2018-06-03 04:45:50 +02:00
Georg Ziegler 8f9dc0f832 Restore old DASM file 2018-06-03 04:43:10 +02:00
Georg Ziegler c585064459 Streamline scopes 2018-06-03 04:16:44 +02:00
Georg Ziegler 356800f90e Add generic 65816 and 6502 grammars 2018-06-03 04:12:44 +02:00
Georg Ziegler bbc826f2cd Add missing pseudo opcodes to acme 2018-06-03 02:58:07 +02:00
Georg Ziegler cf574c0d54 Fixed acme 2018-06-03 02:26:43 +02:00
Georg Ziegler f89a766cbc Merge remote-tracking branch 'upstream/master' 2018-06-03 00:54:06 +02:00
Matthew Callis 0779d70727 Add Marco Baye's ACME Crossassembler from GoDot 2018-05-27 19:23:47 -07:00
Georg Ziegler 90366d7d06 Add WDCTools support 2018-03-22 22:03:41 +01:00
Georg Ziegler 4182828612 Rework dasm support 2018-03-22 20:12:15 +01:00
Georg Ziegler bca192fbc7 Rework cc65 support 2018-03-22 18:08:30 +01:00
Georg Ziegler 6de1c1dfed cc65 6502 grammar working, splitting 65X opcodes 2018-03-20 21:32:56 +01:00
Georg Ziegler 376a1e0f55 Squash develope commits into one 2018-03-20 20:54:24 +01:00
ARM9 4dec149088 Add cc65 SNES grammar, installation instructions
SNES grammar including 65816, spc700 and superfx assembly.
2017-03-23 15:24:11 +01:00
ARM9 944fefa6b3 Add snes syntax 2017-03-20 20:33:01 +01:00
Tommy Savaria 13f4c11d05 Added ina to WLA-DX grammar 2016-07-19 18:01:02 -04:00
Tommy Savaria d98637d01c Revert "Add ina Fix Issue #3"
This reverts commit f1bce28b1d.
2016-07-19 18:00:35 -04:00
Tommy Savaria f1bce28b1d Add ina Fix Issue #3 2016-07-18 19:22:47 -04:00
MattTuttle 5a713ff273 Improving constant numeric values and fixed label highlighting 2016-05-17 09:43:25 -05:00
Matthew Callis 01dccbb45c Fixes for depreciations. 2015-04-16 09:50:31 -07:00
Matthew Callis 3f4af69e67 First commit. 2014-03-01 19:08:22 -08:00