newCTFE Status July 2017

Stefan Koch via Digitalmars-d digitalmars-d at puremagic.com
Mon Jul 31 11:04:40 PDT 2017


On Monday, 31 July 2017 at 17:58:56 UTC, Marco Leise wrote:
> Am Sun, 30 Jul 2017 14:44:07 +0000
> schrieb Stefan Koch <uplink.coder at googlemail.com>:
>
>> On Thursday, 13 July 2017 at 12:45:19 UTC, Stefan Koch wrote:
>> > [ ... ]
>> 
>> Hi Guys,
>> 
>> After getting the brainfuck to D transcompiler to work.
>> I now made it's output compatible with newCTFE.
>> 
>> See it here: 
>> https://gist.github.com/UplinkCoder/002b31572073798897552af4e8de2024
>> 
>> Unfortunately the above code does seem to get mis-compiled,
>> As it does not output Hello World, but rather:
>> 
>> 
>
> Funny, it is working and mis-compiling at the same time.
> I figure with such complex code, it is working if it ends up
> *printing anything* at all and not segfaulting. :)

I fixed the bug which cause this to miscompile it works now at 
ctfe.
This code is not really that complex, it only looks confusing.
complex code uses slices  of struct-types and pointer-slicing and 
that stuff.



More information about the Digitalmars-d mailing list