On Tuesday, 2 September 2014 at 20:31:18 UTC, ketmar via Digitalmars-d wrote:
actually, changing parsers is not that fun, 'cause writing parser needs "inner knowledge" about compiler and it's AST. and writing complete parser is very tedious. and you will not be able to write "whitespace
sensitive" parser anyway, 'cause it needs new scanner and lexer.

If it changes a lot then you can do it as a builtin preprocessor that compiles to D then hand it over to the regular parser.

in other words: i'm not ready for this challenge yet. i'd better stick
with my patches and leave custom parsers for somebody else.

Mhmmm, and here I thought I could lure you into paving the way for my own ambitious syntactical changes… ;-)

Reply via email to