www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - User Defined Annotations

reply Andrew Wiley <debio264 gmail.com> writes:
This is a topic that seems to come up every so often (well, I bring it
up every so often, but I haven't really heard negative remarks about
it), and I was wondering what it would take to move forward with
getting user defined annotations into the language, and whether it
would be feasible for D2. Would the next step be to make a full
proposal?
Mar 10 2011
next sibling parent bearophile <bearophileHUGS lycos.com> writes:
Andrew Wiley:

 Would the next step be to make a full proposal?
Creating a pre-D Enhancement Proposal (pre-DEP) is good. Bye, bearophile
Mar 10 2011
prev sibling parent reply Jacob Carlborg <doob me.com> writes:
On 2011-03-11 04:30, Andrew Wiley wrote:
 This is a topic that seems to come up every so often (well, I bring it
 up every so often, but I haven't really heard negative remarks about
 it), and I was wondering what it would take to move forward with
 getting user defined annotations into the language, and whether it
 would be feasible for D2. Would the next step be to make a full
 proposal?
For this to be useful that language would probably need better reflection capabilities, either compile time or runtime. -- /Jacob Carlborg
Mar 10 2011
parent Andrew Wiley <debio264 gmail.com> writes:
On Fri, Mar 11, 2011 at 1:38 AM, Jacob Carlborg <doob me.com> wrote:
 On 2011-03-11 04:30, Andrew Wiley wrote:
 This is a topic that seems to come up every so often (well, I bring it
 up every so often, but I haven't really heard negative remarks about
 it), and I was wondering what it would take to move forward with
 getting user defined annotations into the language, and whether it
 would be feasible for D2. Would the next step be to make a full
 proposal?
For this to be useful that language would probably need better reflection capabilities, either compile time or runtime.
As I see it, the proposal should probably include how this should look in compile time reflection. As far as I know, runtime reflection has even less of a plan than user defined annotations, and the two should probably be proposed separately.
Mar 11 2011