ghkweon / dwscript

Automatically exported from code.google.com/p/dwscript
0 stars 0 forks source link

Commit #2289 adds a dependency on dwsJSCodeGen #442

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
In 2289, in /trunk/Demos/LiveScripting/MainUnit.pas, several references to the 
JS codegen have just been added.  The JS codegen unit is still gone from DWS, 
though...

Original issue reported on code.google.com by masonwhe...@gmail.com on 20 Sep 2013 at 2:23

GoogleCodeExporter commented 8 years ago

Original comment by zar...@gmail.com on 20 Sep 2013 at 2:40

GoogleCodeExporter commented 8 years ago
I did not plan to commit the change, but it went through accidentally. However, 
as can be seen, it can be disabled by commenting out the {$DEFINE JS}.

It slipped through as it was used to test code generation for the Espruino (see 
http://www.espruino.com/). It is now part of SmartMS (see 
http://www.youtube.com/watch?v=Nj2V2XBdG1g)

In the future I've planned to split the IDE part for compilation of LLVM code, 
but since the LLVM codegen was only planned as excursion to see what is 
possible, I did not continue to contribute.

Currently more time is spent to unify all work on the IDE (updated the 
IDEDialog as well).

However, with a next commit, the JS codegen will be disabled by default.

Original comment by CWBudde on 20 Sep 2013 at 2:52

GoogleCodeExporter commented 8 years ago
Fixed now (might take a while until it is synced with this repository)

Original comment by CWBudde on 20 Sep 2013 at 2:56