v6502
The MOS 6502 Virtual Machine and Toolchain Infrastructure
Functions
Lexing

Functions

size_t as6502_lengthOfToken (const char *start, size_t len)
 Finds the first non-token character encountered, and returns it's location relative to the start pointer.
 
size_t as6502_valueLengthInChars (const char *string, size_t len)
 Finds the first thing that isn't the value literal pointed to by string, and returns the length of the value literal.
 
as6502_tokenas6502_lex (const char *line, size_t len)
 Lexes a line of text into a linked list of tokens for later parsing.
 

Detailed Description