1
0
mirror of https://github.com/emkay/parser-6502.git synced 2024-11-12 14:04:39 +00:00
Parser for 6502 assembler
Go to file
2019-09-29 18:17:49 +00:00
example docs: fixing example and updating readme 2016-10-12 20:19:46 -07:00
parsers working 2016-10-12 16:41:28 -07:00
test working 2016-10-12 16:41:28 -07:00
.gitignore
.travis.yml fix(audit): audit fix update + travis node version 2019-06-14 15:50:31 -07:00
CHANGELOG.md chore(release): 1.0.3 2019-06-14 15:53:33 -07:00
CODE_OF_CONDUCT.md docs(coc): updated CODE_OF_CONDUCT.md 2017-07-26 07:50:51 -07:00
CONTRIBUTING.md docs(contributing): updated CONTRIBUTING.md 2017-07-26 07:50:56 -07:00
index.js remove stuff 2016-10-11 18:09:19 -07:00
LICENSE
package-lock.json chore(package): update lockfile package-lock.json 2019-09-29 18:17:49 +00:00
package.json chore(package): update tap to version 14.6.6 2019-09-29 18:17:44 +00:00
README.md Merge pull request #2 from emkay/greenkeeper/initial 2017-06-08 13:50:32 -07:00

parser-6502

Greenkeeper badge Parser for 6502 assembler

This is a parser written in javascript that will parse assembler written for the 6502 8-bit microprocessor.

Build Status Standard - JavaScript Style Guide Standard Version

Usage

const fs = require('fs')
const parser = require('parser-6502')
const input = fs.readFileSync('./asm.s', 'utf-8')
const result = parser(input)

console.log(result)

API

result = parser(input)

[
  {
    "directive": ".db",
    "args": [
      {
        "binary": "00000001"
      }
    ]
  }
]

Installation

npm i parser-6502

License

MIT