Create an Account
username: password:
 
  MemeStreams Logo

Tokenizers/Parsers

search

Acidus
Picture of Acidus
My Blog
My Profile
My Audience
My Sources
Send Me a Message

sponsored links

Acidus's topics
Arts
Business
Games
Health and Wellness
Home and Garden
Miscellaneous
Current Events
Recreation
Local Information
Science
Society
Sports
Technology

support us

Get MemeStreams Stuff!


 
Tokenizers/Parsers
Topic: Technology 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
RSS2.0