[fpc-pascal] LLVM (again)
nickysn at users.sourceforge.net
Fri Apr 19 14:06:38 CEST 2013
On 04/19/2013 03:02 PM, Reimar Grabowski wrote:
> I have read the discussions about FPC using LLVM and the reasons against it (which I fully understand and support). But a friend of mine
> called my attention to this: https://github.com/kripken/emscripten/wiki
> From what I have seen this is quite an amazing project. And being in the process of deciding if I port my FPC 3D-Engine to JS or write a new one from scratch this would be the perfect solution if only FPC could create LLVM bitcode.
> Since I know virtually nothing about compiler development and LLVM and it looks like it would not be easy to use LLVM as a backend I won't be able to change this.
> But one can always dream.
Actually, I think you can write an asm.js code generator for FPC. Going
through LLVM isn't necessary.
More information about the fpc-pascal