Commit Graph

80 Commits

Author SHA1 Message Date
Matthew Callis
6e4108ca91
Merge pull request #17 from michaellass/fix-operator-regex
Fix operator regex for ACME grammar (again)
2020-01-27 12:36:47 -08: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
Matthew Callis
2dcf07e67b
Prepare v10.3.0 release 2019-11-13 19:37:41 -08:00
Matthew Callis
e7976a5a95
Fix issue in publishing 2019-11-13 19:37:30 -08:00
Matthew Callis
124e6531f4
Prepare v10.1.0 release 2019-11-13 19:36:37 -08:00
Matthew Callis
a0db8c9fbd
Merge pull request #16 from ProbablyNotArtyom/master
Add KickAssembler syntax
2019-11-13 19:34:18 -08:00
ProbablyNotArtyom
cbcc0bfce6 Added KickAssembler to the README
Added KickAssembler credits to the README
2019-11-13 06:35:47 -05:00
ProbablyNotArtyom
707b9c8bd3 Added KickAssembler grammar 2019-11-13 06:32:10 -05:00
Matthew Callis
c5ff13055f
Merge pull request #15 from MatthewCallis/ACME
Fix bug in Acme grammar with arithmetic operators
2019-08-29 15:51:54 -07:00
Matthew Callis
a198b529b7
Fix bug in Acme grammar with arithmetic operators 2019-08-29 15:50:55 -07:00
Matthew Callis
191902076a
Prepare 10.0.0 release 2018-12-19 12:18:46 -08:00
Matthew Callis
c1b48c5732
v10 2018-12-19 12:18:08 -08:00
Matthew Callis
0a367c9924
Merge pull request #13 from georgjz/master
Add ASM6f support, closes #12
2018-12-19 12:13:46 -08:00
Georg Ziegler
5ad9fa0be5 Merge branch 'asm6' 2018-10-19 16:35:29 +02:00
Georg Ziegler
f56e593d02 Update README 2018-10-19 16:34:51 +02: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
032e7d76d7
Create CHANGELOG.md 2018-06-21 10:47:11 -07:00
Matthew Callis
8791a59ecb
Prepare 9.0.0 release 2018-06-21 10:42:32 -07:00
Matthew Callis
ffbb1c698e
Merge pull request #11 from MatthewCallis/ACME-UPDATES
Updated ACME grammar from GoDot
2018-06-21 10:40:04 -07:00
Matthew Callis
b4a88e0a42
Updated ACME grammar from GoDot 2018-06-21 10:39:19 -07:00
Matthew Callis
a32c1f73a2
Merge pull request #10 from georgjz/master
Fix DASM and Merlin, add Asar, improve cc65
2018-06-21 10:37:18 -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
fad43e3b4a Merge branch 'develop' 2018-06-12 09:52:03 +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
9e1c3129eb Merge branch 'develop' 2018-06-08 02:58:22 +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
52375b7e6e Merge branch 'master' into develop 2018-06-04 21:41:19 +02:00
Matthew Callis
cc5dcdf07f
Prepare 8.0.0 release 2018-06-04 09:07:30 -07:00
Matthew Callis
8f33699598
Bump to 7.0.1-pre 2018-06-04 09:06:48 -07:00
Matthew Callis
6c2e99a2df
Tag 7.0.0 2018-06-04 09:06:27 -07:00
Matthew Callis
ebf3af2037
Merge pull request #9 from georgjz/pullrequest
ACME fix, scope improvements
2018-06-04 09:02:30 -07: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
f647fd3549 Merge branch 'develop' 2018-06-03 04:24:32 +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