libdparse icon indicating copy to clipboard operation
libdparse copied to clipboard

Library for lexing and parsing D source code

Results 44 libdparse issues
Sort by recently updated
recently updated
newest added

Hi. Are there any specific reason why it doesn't parse any parameter data types? And also, it would be neat to have functions that generated the signature as string for...

this is allowed by dparse: ```d void main() { mixin template MT() {int a;} mixin MT!() a; } ``` but it is illegal by the official grammar.

bug
parser

`PrimaryExpression` and `UnaryExpression` are not decomposed and this has a negative impact on the amount of memory used. UnaryExpression should be ```d class UnaryExpression : AstNode { Expression exp; }...

The duration spent to compile dparse as a static library is the same but this reduces memory usage. This change will also begin being interesting when the new CTFE implementation...

Forwarding from Basile Patch: ```diff From d4300b3d1f60717ed5698b2b33eb89b0bbd05ba1 Mon Sep 17 00:00:00 2001 From: Basile Burg Date: Mon, 27 Apr 2020 16:58:34 +0200 Subject: [PATCH] fix out of bounds access when...

Either by using the visitor interface or serializing a whole module, we can see AtAttributes are being parsed (as are access specifiers) but they don't seem to be attached to...

No parse error for ```d auto a = b.(); ```

bug

I need this for example in dexed, to process the "TODO comments".

enhancement

There are plenty of bugs.

enhancement
formatter