Create an Account
username: password:
 
  MemeStreams Logo

MemeStreams Discussion

search


This page contains all of the posts and discussion on MemeStreams referencing the following web page: Tokenizers/Parsers. You can find discussions on MemeStreams as you surf the web, even if you aren't a MemeStreams member, using the Threads Bookmarklet.

Tokenizers/Parsers
by Acidus at 4:32 pm EDT, Jul 5, 2007

Literals are a pain to tokenize, especially when the literal can start with a valid math operator. I'm looking at you JavaScript Regex Literal and signed integer literals! You broke my code.

var x = /123/;
var y =5 /2;
z(5,+54.1, -13);

This is where you can blur the line between what the tokenizer should do and what the parser does. Going the wrong way makes things bad. Like, crashing bad.


 
 
Powered By Industrial Memetics