GithubHelp home page GithubHelp logo

matthewcallis / language-65asm Goto Github PK

View Code? Open in Web Editor NEW
31.0 9.0 19.0 97 KB

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

Home Page: https://atom.io/packages/language-65asm

License: MIT License

assembler atom 65816 65c816 65802 6502 65c02 assembly

language-65asm's Issues

Package.loadSettings is deprecated.

Store package settings files in the settings/ directory instead of scoped-properties/

Package.loadSettings (/Users/riq/Applications/Atom.app/Contents/Resources/app/src/package.js:547:9)
<unknown> (/Users/riq/Applications/Atom.app/Contents/Resources/app/src/package.js:168:43)

Kick Assembler comments syntax

Latest Kick Assembler uses '//' comments syntax

Solution:
File:
/language-65asm/settings/language-65asm.cson

Add:
'.source.assembly.6502.kickass':
'editor':
'commentStart': '//'

Add ina opcode

INA is used as an alias to INC A in WLA-DX, but it is not highlighted.

Opcodes are highlighted in comments

If an opcode is present after a semi-colon, it should not appear as highlighted, since it's a comment.

Actually, comments don't seem to be handled at all. They all use the default color. They should be in a different color to differentiate from the rest.

asm6 syntax support

It would be nice to have asm6 6502 support, specifically highlighting of .db/.dw/.byte/.word keywords, .pad/.include/etc. directives, ifdef/endif/ifndef conditionals, and so on. It seems like a lot of 6502 syntax providers rarely actually do much in the way of syntax highlighting 😕

Bug in acme grammar

Hi Matt,
please change line 127 in acme grammar:
match: '\!|\+|\-|\/|\|<<|>>|&|\||\^|=|<|>|\:|\|\|'
to this:
match: '\!|\+|\-|\/|\
|<<|>>|&|\||\^|=|<|>|\:'

(the rightmost entries must be cleared). After that the arithmetic operators will finally work and be highlighted.

I know it's a late call, sorry. But see my handle (GoDot), it explains… ;-) Files to test you can find on my GitHub repository for GoDot C64 Image Processing (https://github.com/godot64/).

Arndt

Uncaught Error: target of repeat operator is not specified

I'm trying to use the package for ACME assembler files and I get this error message.
I've tracked it down to the line
# Macro control { match: '\\b(?i:\!macro|\+[a-zA-Z0-9)\\b' name: 'support.function.pseudo.acme' }
in acme.cson

That's how far I got as my regex isn't up to for the task :)

I'm using Atom 1.27.2 on a mac

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.