Proposal: __traits(getComment, symbol)

RazvanN razvan.nitu1305 at gmail.com
Thu Aug 29 10:20:28 UTC 2019


On Wednesday, 28 August 2019 at 22:18:28 UTC, Max Haughton wrote:
> On Wednesday, 28 August 2019 at 17:35:56 UTC, Manu wrote:
>> As a development workflow feature, having compiler access to 
>> symbol comments would be very useful in many cases.
>
> Speaking of which, has anyone tried/discussed giving access to 
> a frozen version of the AST through (say) __traits(getAST, 
> symbol)? I'd try it myself but I haven't spent the time 
> learning how dmd works.

Whatever you want to do with traits(getAST) would likely be a job 
for dmd as a library.


More information about the Digitalmars-d mailing list