Watt's Up Musings of an original geek

March 24, 2005

Cascading parsers

Filed under: Uncategorized — admin @ 3:44 am

During a design discussion of parsing that we needed to do, I got the idea that we should create two parsers, that is, a set of cascading parsers. One parser that reads from another parser that reads from the input file. The former is an expression parser and the latter parser is preprocessing parser. This requires that the latter parser appears to the former one as a stream of characters. After an hour of protoyping, a co-worker and I had developed a sample. It was neat and it was good.

No Comments

No comments yet.

RSS feed for comments on this post.

Sorry, the comment form is closed at this time.

Powered by WordPress