From: spooq Date: 2007-01-03T19:38:18+09:00 Subject: Re: how to lex javascript for an assert_js system? On 1/2/07, Phlip wrote: > To spooq: > > Consider this snip of C++, via Boost/Spirit: > > rule<> LetterE = chr_p('e') | chr_p('E'); > > The bad news, of course, is all the excessive chr_p stuff. The good > news is that's raw C++, not even a string, and it all compiles at > compile time. Boost is indeed cool, they push the boundaries of C++ further than anyone. I really like their XML parser, much better than that horrid Xerces port. C++ != C though, especially when lex was written. :) Could you let me know how the perl script is going, either here or off-list?