Google Summer of Code 2013(?)

Adam Wilson flyboynw at gmail.com
Sun Mar 24 14:27:28 PDT 2013


On Sun, 24 Mar 2013 13:49:06 -0700, Timon Gehr <timon.gehr at gmx.ch> wrote:

> On 03/24/2013 09:42 PM, alex wrote:
>> On Sunday, 24 March 2013 at 20:22:56 UTC, Adam Wilson wrote:
>>> I just want to throw some caution into the wind here. Many people have
>>> tried emitting CIL from D source, and have had varying levels of
>>> success. Ranges in particular seems to a pain point as the CIL has no
>>> way to express that concept natively. I am not saying this isn't a
>>> good idea, as it's the only realistic way to do CTFE in the .NET
>>> world, just something to be careful when approaching.
>>
>> Ranges.. in .Net there's something beautiful called List, which imho
>> could somehow be used for wrapping e.g. array slices. I mean, even if
>> it's a workaround it's still considering the functionality
>>
>>> That said, I come from the C#/.NET world and would love to help make
>>> this happen.
>>
>> Yeah, would love that, too. But then there's also a question of effort
>> vs. gain - is another "compiler" really needed? Is it worth the 2 years
>> of CTFE implementation brainfuck? Hmm.
>
> The front end is the hard part. The D AST => CIL transformation is  
> rather easy.

I imagine that he could use his existing lexer/parser from Mono-D and  
reporpuse it.

-- 
Adam Wilson
IRC: LightBender
Project Coordinator
The Horizon Project
http://www.thehorizonproject.org/


More information about the Digitalmars-d mailing list