Skip to content

Instantly share code, notes, and snippets.

View BrokenR3C0RD's full-sized avatar
🥯

MasterR3C0RD BrokenR3C0RD

🥯
View GitHub Profile
<register>
<dim>24</dim>
<dimIncrement>4</dimIncrement>
<dimName>PIO0</dimName>
<name>PIO0[%s]</name>
<description>Generic I/O configuration for PIO, port 0.</description>
<addressOffset>0x000</addressOffset>
<fields>
<field>
<name>FUNC</name>
/* Declaration file for js-binary */
declare module "js-binary" {
export class Data {
public constructor(capacity: number);
private _buffer: Buffer;
private _length: number;
public appendBuffer(data: Buffer): void;
public writeUInt8(value: number): void;
public writeUInt16(value: number): void;
@BrokenR3C0RD
BrokenR3C0RD / Current Token Output
Last active January 7, 2016 01:57
NodeBASIC Lexer
[ { type: 'identifier', match: 'The' },
{ type: 'identifier', match: 'quick' },
{ type: 'identifier', match: 'brown' },
{ type: 'identifier', match: 'dog' },
{ type: 'identifier', match: 'jumped' },
{ type: 'identifier', match: 'over' },
{ type: 'identifier', match: 'the' },
{ type: 'identifier', match: 'lazy' },
{ type: 'identifier', match: 'rabbit' },
{ type: 'operator', match: '=' },