www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.announce - Mono-D v0.4.6 - UDA parsing support

reply "alex" <info alexanderbothe.com> writes:
Just finished making the parser analyze UDA syntax flawlessly + 
Slight profiling statistics display support (dmd exclusive, 
unfortunately).

Ah, before I forget it: No, the 'deprecated' attribute syntax à la
[...] void foo() {}
is not supported, only
 ... void bar() {}
:-)

http://mono-d.alexanderbothe.com/?p=781

https://github.com/aBothe/Mono-D
https://github.com/aBothe/D_Parser
Jan 06 2013
parent reply "nazriel" <spam dzfl.pl> writes:
On Sunday, 6 January 2013 at 17:10:17 UTC, alex wrote:
 Just finished making the parser analyze UDA syntax flawlessly + 
 Slight profiling statistics display support (dmd exclusive, 
 unfortunately).

 Ah, before I forget it: No, the 'deprecated' attribute syntax à 
 la
 [...] void foo() {}
 is not supported, only
  ... void bar() {}
 :-)

 http://mono-d.alexanderbothe.com/?p=781

 https://github.com/aBothe/Mono-D
 https://github.com/aBothe/D_Parser
By depracated you mean new sytnax for adding messages to deprecate blocks introduced by yebblies? deprecated("Don't use anymoar") void func() {}?
Jan 06 2013
parent reply "alex" <info alexanderbothe.com> writes:
On Sunday, 6 January 2013 at 17:15:30 UTC, nazriel wrote:
 On Sunday, 6 January 2013 at 17:10:17 UTC, alex wrote:
 Just finished making the parser analyze UDA syntax flawlessly 
 + Slight profiling statistics display support (dmd exclusive, 
 unfortunately).

 Ah, before I forget it: No, the 'deprecated' attribute syntax 
 à la
 [...] void foo() {}
 is not supported, only
  ... void bar() {}
 :-)

 http://mono-d.alexanderbothe.com/?p=781

 https://github.com/aBothe/Mono-D
 https://github.com/aBothe/D_Parser
By depracated you mean new sytnax for adding messages to deprecate blocks introduced by yebblies? deprecated("Don't use anymoar") void func() {}?
Oh, no you actually can type deprecated("Don't do this because!") void oldFoo() {} now. With the 'deprecated' attribute syntax I meant this [..] attribute syntax, nothing else. :)
Jan 06 2013
next sibling parent reply Philippe Sigaud <philippe.sigaud gmail.com> writes:
 Oh, no you actually can type
 deprecated("Don't do this because!") void oldFoo() {}
 now.
You can? Wow, yet another change that was not in the docs? I'm becoming bitter, here.
 With the 'deprecated' attribute syntax I meant this [..] attribute syntax,
 nothing else. :)
OK. Good job, Alexander.
Jan 06 2013
parent "alex" <info alexanderbothe.com> writes:
On Sunday, 6 January 2013 at 17:37:05 UTC, Philippe Sigaud wrote:
 Oh, no you actually can type
 deprecated("Don't do this because!") void oldFoo() {}
 now.
You can? Wow, yet another change that was not in the docs? I'm becoming bitter, here.
 With the 'deprecated' attribute syntax I meant this [..] 
 attribute syntax,
 nothing else. :)
OK. Good job, Alexander.
There should be a dedicated list of changes made to the spec sheets. Or even a dedicated repository, book, wiki or whatsoever to make all changes purely clear for everyone. Philippe: I've found out about this syntax _just_ because there were hundreds of errors thrown out while parsing though phobos - So in the end, I'm designing the parser more after phobos than the actual spec. Mentally insane, but well..it's just another D thing.
Jan 06 2013
prev sibling parent "nazriel" <spam dzfl.pl> writes:
On Sunday, 6 January 2013 at 17:18:33 UTC, alex wrote:
 On Sunday, 6 January 2013 at 17:15:30 UTC, nazriel wrote:
 On Sunday, 6 January 2013 at 17:10:17 UTC, alex wrote:
 Just finished making the parser analyze UDA syntax flawlessly 
 + Slight profiling statistics display support (dmd exclusive, 
 unfortunately).

 Ah, before I forget it: No, the 'deprecated' attribute syntax 
 à la
 [...] void foo() {}
 is not supported, only
  ... void bar() {}
 :-)

 http://mono-d.alexanderbothe.com/?p=781

 https://github.com/aBothe/Mono-D
 https://github.com/aBothe/D_Parser
By depracated you mean new sytnax for adding messages to deprecate blocks introduced by yebblies? deprecated("Don't use anymoar") void func() {}?
Oh, no you actually can type deprecated("Don't do this because!") void oldFoo() {} now. With the 'deprecated' attribute syntax I meant this [..] attribute syntax, nothing else. :)
Aaa hahaha [] syntax that didn't get anywhere but still has to be lured into deprecation process ;D
Jan 06 2013