Am 09.02.2013 03:13, schrieb Vittorio Giovara: > To do that we are using a tool > named 'emscripten' which takes LLVM bytecode and generates Javascript, > without affecting performance too much. Yes, we had to write a horribly > hacked converter that took the small subset of Pascal used by Hedgewars > and convert it to C (on a side node, the converter is written in > Haskell) and reimplement the RTL.
I still don't understand what's the use of generating LLVM code in between instead of generating directly Javascript ... The process pascal->llvm->js looks as well very fragile to me. _______________________________________________ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel