1
0
mirror of https://github.com/emkay/parser-6502.git synced 2025-01-18 01:29:43 +00:00
Michael Matuzak b80a88d350
Merge pull request #7 from emkay/greenkeeper/tap-12.0.0
Update tap to the latest version 🚀
2018-05-17 14:16:07 -07:00
2016-10-12 16:41:28 -07:00
2016-10-12 16:41:28 -07:00
2016-10-12 20:00:32 -07:00
2016-10-12 20:21:29 -07:00
2016-10-11 18:09:19 -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

Description
Parser for 6502 assembler
Readme MIT 577 KiB
Languages
JavaScript 54%
Assembly 46%