[fpc-devel] Summer of code collaboration
Florian Klämpfl
florian at freepascal.org
Sat Feb 9 14:40:27 CET 2013
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.
More information about the fpc-devel
mailing list