Thread overview |
---|
January 06, 2013 Mono-D v0.4.6 - UDA parsing support | ||||
---|---|---|---|---|
| ||||
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 |
January 06, 2013 Re: Mono-D v0.4.6 - UDA parsing support | ||||
---|---|---|---|---|
| ||||
Posted in reply to alex | 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() {}?
|
January 06, 2013 Re: Mono-D v0.4.6 - UDA parsing support | ||||
---|---|---|---|---|
| ||||
Posted in reply to nazriel | 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. :)
|
January 06, 2013 Re: Mono-D v0.4.6 - UDA parsing support | ||||
---|---|---|---|---|
| ||||
Posted in reply to alex Attachments:
| > 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. |
January 06, 2013 Re: Mono-D v0.4.6 - UDA parsing support | ||||
---|---|---|---|---|
| ||||
Posted in reply to alex | 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
|
January 06, 2013 Re: Mono-D v0.4.6 - UDA parsing support | ||||
---|---|---|---|---|
| ||||
Posted in reply to Philippe Sigaud | 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.
|
Copyright © 1999-2021 by the D Language Foundation