Encapsulating trust

ketmar via Digitalmars-d digitalmars-d at puremagic.com
Tue Sep 2 13:31:05 PDT 2014


On Tue, 02 Sep 2014 20:04:51 +0000
via Digitalmars-d <digitalmars-d at puremagic.com> wrote:

> Another approach would be to cooperate on building an 
> infrastructure where it is easy to have multiple parsers in the 
> same build then have the ability so select parser and configure 
> the parser syntax in the head of the file:
i'm still waiting for AST macros (DIP50). ;-)

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.

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. such change
will diverge ALOT from "mainline D" and syncing with git head will be
even more time-consuming than doing full-time 8 hr. work. and i have
nothing to sell right now to keep me alive and well-functioning without
payed work. ;-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20140902/16e77fc5/attachment-0001.sig>


More information about the Digitalmars-d mailing list