Encapsulating trust

via Digitalmars-d digitalmars-d at puremagic.com
Tue Sep 2 13:04:51 PDT 2014


On Tuesday, 2 September 2014 at 19:38:47 UTC, ketmar via 
Digitalmars-d wrote:
> this is ambitious project, i know. but long time ago D was just 
> a dream
> too. and this project will help me to improve my nearly 
> non-existent
> vibe.d skills. ;-)

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:

module.parser1(@attrs,simd,stuff) modulename;
or
module.parser2(pythonstyle, otherstuff) modulename;

That way you can even create a DSL and use it in select modules.

The main problem is string mixins where you probably will have to 
retain classic D syntax?


More information about the Digitalmars-d mailing list