On 2011-07-31 12:36, Jonathan M Davis wrote:
The idea behind the hand-written D lexer (and eventually parser) for D is that it follows the implementation of the compiler's front-end, and so using it to process D code will have the same result as running the compiler. It obviously doesn't scale beyond D itself.
I would really hope that the compiler itself could be built on top of the font end that will hopefully end up in Phobos. Then they would always be in sync and produce correct results.
-- /Jacob Carlborg
