Automated source translation of C++ to D

via Digitalmars-d digitalmars-d at puremagic.com
Sat Sep 6 13:26:45 PDT 2014


On Saturday, 6 September 2014 at 20:06:51 UTC, Walter Bright 
wrote:
> I'd have to see the source code and the translated code to form 
> any judgement about that.

AFAIK Emscripten is not a source-to-source translator. It is a 
LLVM backend. asm2js code is very cryptic. You basically have 
everything in one big array and weird javascript expressions that 
are meant to ensure that expressions are taken as typed by the 
JIT. You cannot reasonably expect to be able to modify the output 
by hand.


More information about the Digitalmars-d mailing list