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 Introduction

Hello!

My name is Matthew Callis and I love programming, Super Nintendo, cheese, Mexican food, cats, and many other things. Some of my notable public projects:

  • ๐Ÿค” - wiki.superfamicom.org - My Super Nintendo / Super Famicom development wiki
  • ๐ŸŽน - sfc.fm - sfc.fm is a project to listen to the SNES video game soundtracks I played as a kid in a browser
  • ๐Ÿฅ - Super Pads - Super Pads helps manage samples on a SP-404SX
  • ๐Ÿ”ญ - eludevisibility.org - My not-dead blog that I update with video game archival information

You can find me online:

language-65asm's People

Contributors

arm9 avatar georgjz avatar matthewcallis avatar matttuttle avatar michaellass avatar newlunarfire avatar probablynotartyom avatar secondsun avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

language-65asm's Issues

Add ina opcode

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

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

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': '//'

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 ๐Ÿ˜•

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.

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

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)

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.