Google Summer of Code 2013(?)
alex
info at alexanderbothe.com
Sun Mar 24 14:24:35 PDT 2013
On Sunday, 24 March 2013 at 20:49:06 UTC, Timon Gehr 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.
The front end is more or less finished - and perhaps it's also
just needed to satisfy the most common needs such as string
operations and manipulations..because CTFE should be used mostly
for putting together mixin strings, am I right?
More information about the Digitalmars-d
mailing list