Am 16.07.2013 12:13, schrieb Mark Morgan Lloyd:
Michael Schnell wrote:
On 07/16/2013 10:44 AM, Michael Schnell wrote:
http://asmjs.org/spec/latest/#introduction looks really interesting as a target arch for fpc.

Should we switch to the fpc-devel mailing list on that issue ?

I think an important issue is whether asm.js can be translated to something which can either be executed from a shell, or whether there's a runtime environment (e.g. a Firefox extension) that provides its own shell plus standard utilities including make etc.

If asm.js can only be translated to something that will run as a GUI applet in the context of Firefox, it's going to be very difficult to run the FPC test programs that (in principle at least) demonstrate the compiler's correctness.

It's just a subset of JavaScript. In the browser you normally have a HTML page that references it, but the examples of emscripten (which can also generate asm.js compatible code) show how you can execute it on the command line as well.

Regards,
Sven

--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to