2007-05-03

Writing a parser: overview

Here's a quick overview of the different blog posts in the series Writing a parser:
Comments:
ahhhhh thanks for all your hard work. Planning to turn this into an interpreter as a pet project, might even make a compiler than can spit out MSIL if i'm feeling adventurous :)
 
Tommy - My thanks as well for this post. I was easily able to adapt the code for one of my projects, saving myself quite a bit of work.
 
Excellent work man, this one is a hell of a lot more readbale than other stuff i've seen so far!
 
3 years down the line and I wish to give a big thanks. I'm currently working on many types of parsers and needed a generic tokenizer (except i record whitespace, as my tokeniser will allow interpretation of any file. For example, $ would be an individual token but in PHP this would be valid for the start of a variable so as long as the next token is alphanumeric or an underscore then the next token can be appended. but if whitespace it'd be a parse error) and your java scripts here (which I'm converting to PHP and c#) were a massive help. Some projects i'm using it for are code minimisers, syntax validation, config file parsers etc etc. Thanks again.
 
Post a Comment

Links to this post:

Create a Link