ghkweon / dwscript

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

Restore the dwsCodeGen unit #320

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
dwsCodeGen.pas was removed from the DWS repository when the JS codegen units 
were removed, because it was located in the JSCodeGen folder, and that entire 
folder was removed.

However, this was not the right place for it to be, as dwsCodeGen is a base 
class for code generators, and has nothing to do with JavaScript.  It was quite 
possible to derive a class from TdwsCodeGen to generate other outputs.

Unfortunately, this is no longer possible. Enough changes to the DWS 
architecture have occurred that the most recent available revision of 
dwsCodegen.pas no longer compiles, making it impossible to use DWS as a 
frontend anymore.

As the purpose of removing the JS codegen work was directly related to Smart 
Mobile Studio's JavaScript code generation, and as dwsCodegen.pas is a unit 
that, by itself, has nothing to do with JavaScript but has many other useful 
applications, it should be restored to the public DWS repository.

Original issue reported on code.google.com by masonwhe...@gmail.com on 28 Dec 2012 at 10:54

GoogleCodeExporter commented 8 years ago
This was fixed in rev #1853, and can be closed now.

Original comment by masonwhe...@gmail.com on 14 Mar 2013 at 4:26

GoogleCodeExporter commented 8 years ago

Original comment by zar...@gmail.com on 14 Mar 2013 at 7:37